/* ===== GLOBAL ===== */

:root {
    --blue-dark: #0a3d8f;
    --blue-main: #1a6fd4;
    --blue-light: #5aaeff;
    --blue-pale: #e8f1ff;
    --white: #ffffff;
    --gray-light: #f4f7ff;
    --gray-text: #6b7280;
    --dark: #1f2937;
}

section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 38px;
    font-weight: 900;
    text-align: center;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 17px;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 60px;
}

.btn-main {
    background: linear-gradient(135deg, #0a3d8f 0%, #1a6fd4 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(10, 61, 143, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-main:hover::before {
    left: 100%;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(10, 61, 143, 0.5);
}


/* ===== HERO ===== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-content {
    flex: 1;
    max-width: 620px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--white);
    color: var(--blue-dark);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

.phone-screen {
    position: absolute;
    inset: 30px 15px 15px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.2) 0%, rgba(26, 111, 212, 0.3) 100%);
    border-radius: 28px;
    overflow: hidden;
}

.phone-screen::before {
    content: '💍\A\Aدعوتنامه\Aعروسی\A\Aسارا و علی\A\A۱۴۰۵/۰۳/۱۵';
    white-space: pre;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    line-height: 2;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


/* ===== TRUSTED ===== */

.trusted {
    padding: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.trusted-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 24px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 40px;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: default;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.2);
}

.trusted-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    /* پس زمینه ملایم در صورت نیاز */
}

.trusted-track {
    display: flex;
    width: max-content;
    /* حرکت انیمیشن به صورت روان و خطی */
    animation: scroll-brands 30s linear infinite;
}

.trusted-track:hover {
    animation-play-state: paused;
    /* توقف با رفتن موس روی آن */
}

.trusted-slide {
    width: 200px;
    /* عرض هر لوگو */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.trusted-slide img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: contrast(0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.trusted-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* انیمیشن برای سایت‌های راست‌چین */

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
    /* اگر جهت حرکت برعکس بود، 50% را به -50% تغییر دهید */
}


/* ===== HOW IT WORKS ===== */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-main), var(--blue-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.step-item:hover::before {
    opacity: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(10, 61, 143, 0.5);
}

.step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}


/* ===== CATEGORIES - MODERN CHIPS (کوچیک‌تر و فشرده) ===== */

.categories-section {
    backdrop-filter: blur(10px);
}

.category-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 10px 0;
}

.category-chip-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 20px;
    /* کوچیک‌تر شده */
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    font-size: 0.95rem;
    /* کوچیک‌تر */
}

.category-chip-modern:hover {
    transform: translateY(-5px) scale(1.04);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(90, 174, 255, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.category-chip-modern .chip-icon {
    font-size: 24px;
    /* کوچیک‌تر شده */
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-chip-modern .chip-name {
    font-size: 0.97rem;
    /* کوچیک‌تر */
}

.category-chip-modern .chip-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 9px;
    border-radius: 30px;
    font-weight: 700;
}


/* ریسپانسیو */

@media (max-width: 768px) {
    .category-chips-container {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 20px;
        scrollbar-width: none;
    }
    .category-chips-container::-webkit-scrollbar {
        display: none;
    }
    .category-chip-modern {
        padding: 9px 18px;
        font-size: 0.93rem;
    }
    .category-chip-modern .chip-icon {
        font-size: 22px;
    }
}


/* ===== DEMO LAYOUT ===== */

.demo-layout {
    display: flex;
    flex-direction: row-reverse;
    /* گوشی سمت چپ، انتخاب‌ها سمت راست */
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Mobile Mockup Section */

.demo-mobile-wrapper {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 100px;
}

.iphone-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 40px;
    box-shadow: 0 0 0 10px #1f1f1f, 0 30px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 1;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1f1f1f;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

#demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: var(--bg-dark, #111);
}

.modal-backdrop,
.loading-overlay,
#overlay {
    display: none !important;
}

body.modal-open::before {
    display: none !important;
}


/* Selection Section */

.demo-selection-wrapper {
    flex: 1;
}

.demo-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Mahoor', 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--white, #fff);
    color: var(--blue-dark, #1a202c);
    border-color: var(--white, #fff);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.demo-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.demo-tab-content.active {
    display: block;
}


/* Grid for Desktop */

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.demo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.demo-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.05);
}

.demo-card.active {
    border-color: #f9d976;
    box-shadow: 0 0 20px rgba(249, 217, 118, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.demo-preview {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #000;
    padding: 8px;
}

.preview-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    border-radius: 8px;
    transition: transform 0.6s ease;
}

.demo-card:hover .preview-bg {
    transform: scale(1.08);
}

.demo-info {
    padding: 15px 10px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s;
}

.demo-card.active .demo-title {
    color: #f9d976;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== Responsive: Mobile Styles ===== */

@media (max-width: 991px) {
    .demo-layout {
        flex-direction: column;
        /* دسته‌بندی و قالب‌ها بالا، گوشی پایین */
        align-items: center;
        gap: 20px;
    }
    .demo-selection-wrapper {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        /* جلوگیری از اسکرول افقی کل صفحه */
    }
    /* اسلایدر شدن تب‌های دسته‌بندی */
    .demo-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* فایرفاکس */
    }
    .demo-tabs::-webkit-scrollbar {
        display: none;
        /* کروم و سافاری */
    }
    /* اسلایدر شدن کارت‌های قالب (فقط اسم) */
    .demo-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .demo-grid::-webkit-scrollbar {
        display: none;
    }
    /* استایل دکمه‌مانند برای قالب‌ها در موبایل */
    .demo-card {
        flex: 0 0 auto;
        min-width: max-content;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: none;
    }
    .demo-card:hover {
        transform: none;
    }
    /* مخفی کردن عکس پیش‌نمایش در موبایل */
    .desktop-only {
        display: none !important;
    }
    .demo-info {
        padding: 8px 20px;
        background: none;
        border-top: none;
    }
    .demo-title {
        font-size: 14px;
        font-weight: 400;
    }
    .demo-card.active {
        background: #f9d976;
        border-color: #f9d976;
    }
    .demo-card.active .demo-title {
        color: #1a202c;
        /* تیره شدن متن روی پس‌زمینه روشن */
    }
    /* تنظیمات آیفون برای موبایل */
    .demo-mobile-wrapper {
        position: relative;
        top: 0;
        width: 100%;
        margin-top: 10px;
    }
    /* کوچک‌تر کردن آیفون برای جا شدن بهتر در صفحه گوشی */
    .iphone-mockup {
        width: 300px;
        height: 600px;
    }
}


/* ===== ADDONS ===== */

.addons {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1400px;
    margin: 40px auto;
    /* فاصله از بالا و پایین اضافه شد */
    padding: 60px 40px;
    /* فضای داخلی برای زیبایی بیشتر */
    text-align: center;
    /* اطمینان از وسط‌چین شدن محتوا */
}

.addons .section-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.addons .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 50px;
    /* فاصله بیشتر تا کارت‌ها */
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* عرض مینیمم کمی بیشتر شد */
    gap: 30px;
    /* فاصله بین کارت‌ها بیشتر شد */
    align-items: stretch;
    /* هم‌ارتفاع شدن کارت‌ها */
}

.addon-card {
    background: rgba(255, 255, 255, 0.05);
    /* کمی شفاف‌تر */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 24px;
    /* پدینگ بالا و پایین بیشتر شد */
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* برای پشتیبانی سافاری */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.addon-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* سایه عمیق‌تر در هاور */
}

.addon-icon {
    font-size: 48px;
    /* اندازه آیکن بزرگتر شد */
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    color: #ffffff;
    /* رنگ پیش‌فرض آیکن */
    /* اگر می‌خواهید آیکن‌ها رنگ متفاوتی داشته باشند، اینجا تغییر دهید */
    /* مثلا: color: var(--blue-light); */
}


/* استایل مخصوص آیکن‌های فونت آوسام در صورت نیاز */

.addon-icon i {
    color: inherit;
}

.addon-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.addon-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 0;
    /* چون قیمت حذف شده، فاصله پایین صفر می‌شود */
}


/* ریسپانسیو برای موبایل */

@media (max-width: 768px) {
    .addons {
        padding: 40px 20px;
        border-radius: 24px;
    }
    .addon-icon {
        font-size: 40px;
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    .addon-title {
        font-size: 18px;
    }
}


/* ===== PRICING ===== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 40px 32px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
}

.pricing-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}

.pricing-price {
    text-align: center;
    margin-bottom: 30px;
}

.price-amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
}

.price-currency {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 6px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
    color: white;
    padding: 14px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(10, 61, 143, 0.4);
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(10, 61, 143, 0.6);
}

.pricing-card.featured .pricing-btn {
    background: var(--white);
    color: var(--blue-dark);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.pricing-card.featured .pricing-btn:hover {
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}


/* ===== TESTIMONIALS ===== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.author-role {
    font-size: 13px;
    color: var(--blue-light);
}


/* ===== FAQ ===== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item.open {
    border-color: rgba(90, 174, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    gap: 20px;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.faq-icon {
    font-size: 22px;
    font-weight: 300;
    color: var(--blue-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 28px 22px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}


/* ===== CTA ===== */

.cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    backdrop-filter: blur(10px);
    max-width: 1400px;
    margin: 0 auto 100px;
}

.cta-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--blue-dark);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.4);
}


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

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 20px;
    }
    .section-title {
        font-size: 28px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    .cta-title {
        font-size: 28px;
    }
    .trusted {
        margin: auto 20px;
    }
}


/* ===========================
   Home Page - Invited Swiper
=========================== */

.invited-slider-section {
    position: relative;
}

.invitedSwiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.invitedSwiper .swiper-wrapper {
    align-items: stretch;
}

.invitedSwiper .swiper-slide {
    height: auto;
    display: flex;
}

/* خنثی کردن کلاس‌های بوت‌استرپ داخل اسلایدر */
.invitedSwiper .swiper-slide .search-filterable-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* هم‌ارتفاع شدن کارت‌ها */
.invitedSwiper .premium-card {
    width: 100%;
    height: 100%;
}

/* دکمه‌های قبلی/بعدی اسلایدر */
.invitedSwiper .swiper-button-prev,
.invitedSwiper .swiper-button-next {
    color: var(--blue-light, #5aaeff);
    width: 38px;
    height: 38px;
}

.invitedSwiper .swiper-button-prev::after,
.invitedSwiper .swiper-button-next::after {
    font-size: 28px;
    font-weight: 900;
}

/* موبایل */
@media (max-width: 768px) {
    .invitedSwiper .swiper-button-prev,
    .invitedSwiper .swiper-button-next {
        width: 32px;
        height: 32px;
    }

    .invitedSwiper .swiper-button-prev::after,
    .invitedSwiper .swiper-button-next::after {
        font-size: 22px;
    }
}


/* ===========================
   Home Page - Live Demo
=========================== */

#demo .demo-selection-wrapper,
#demo .demo-tabs,
#demo .demo-content,
#demo .demo-grid {
    position: relative;
    z-index: 20;
}

#demo .tab-btn,
#demo .demo-card {
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 25;
    user-select: none;
}

#demo .demo-tab-content {
    display: none;
}

#demo .demo-tab-content.active {
    display: block;
}