* {
    font-family: 'Vazirmatn', sans-serif;
    box-sizing: border-box;
}

body {
    padding-top: 60px;
    margin: 0;
    background: #f6f8f7;
    color: #111;
}

section {
    padding: 0px 8vw;
    text-align: center;
}

h2 {
    margin-bottom: 60px;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

@font-face {
    font-family: Vazirmatn;
    src: url('/fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
}

body {
    font-family: Vazirmatn, sans-serif;
}


/* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 9999;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.logo a {
    font-size: 22px;
    font-weight: 800;
    color: #34c759;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 28px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #34c759;
}

.nav-btn {
    background: #34c759;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #1B8E2D;
}

.nav-action {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-user {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    color: #333;
    transition: all .2s ease;
}

.nav-user:hover {
    background: #f5f5f5;
    border-color: #dcdcdc;
}

.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}


/* موبایل */

@media (max-width:768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        padding: 30px;
        gap: 18px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.08);
        transition: .3s;
        overflow-y: auto;
    }
    .nav-menu.active {
        right: 0;
    }
    .hamburger {
        display: block;
    }
    .nav-action .nav-btn {
        display: none;
    }
    .mobile-extra {
        margin-top: 20px;
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }
    .mobile-login {
        text-decoration: none;
        color: #333;
    }
}

.mobile-extra {
    display: none;
}


/* HERO */

#hero-advanced {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    /* در حالت RTL، مقدار flex-start محتوا را به سمت راست می‌چسباند */
    justify-content: flex-start;
    overflow: hidden;
    direction: rtl;
    /* اطمینان از راست‌چین بودن کل بخش */
}


/* تصویر پس‌زمینه تمام عرض */

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* لایه تیره کننده برای خوانایی متن */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    /* کمی تیره تر برای تضاد بهتر */
    z-index: 2;
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    /* فاصله از لبه راست صفحه */
    display: flex;
    justify-content: flex-start;
}

.hero-text {
    max-width: 550px;
    text-align: right;
    /* متن‌ها کاملاً راست‌چین */
}

.hero-text h1 {
    font-size: clamp(40px, 7vw, 70px);
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-text span {
    color: #1B8E2D;
}

.hero-text p {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 35px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-btn {
    display: inline-block;
    padding: 16px 45px;
    border-radius: 50px;
    background: #1B8E2D;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(27, 142, 45, 0.3);
}

.hero-btn:hover {
    background: #146c22;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(27, 142, 45, 0.4);
}


/* بهینه‌سازی برای موبایل */

@media (max-width:768px) {
    #hero-advanced {
        align-items: flex-start;
        padding-top: 110px;
    }
    .hero-desktop {
        display: none;
    }
    .hero-mobile {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .hero-inner {
        padding: 0 25px;
        justify-content: center;
    }
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    .hero-text h1 {
        font-size: 38px;
    }
}


/* DEMO */

#demo {
    padding: 100px 20px;
    background-color: #ffffff;
    direction: rtl;
}

.demo-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
}

.demo-title {
    font-size: 36px;
    color: #1B8E2D;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1B8E2D, #34c759);
    margin: 0 auto 25px;
    border-radius: 10px;
}

.demo-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
    margin: 0;
    padding: 0 10px;
}

.demo-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 30px 0;
}

.phone {
    position: relative;
    width: 320px;
    height: 640px;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 50px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3), inset 0 0 2px 2px rgba(255, 255, 255, 0.1);
}

.phone-case {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 38px;
    overflow: hidden;
    border: 4px solid #000;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: #000;
    z-index: 10;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.notch::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 40px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 10px;
}

.volume-buttons {
    position: absolute;
    left: -3px;
    top: 120px;
    width: 3px;
    height: 40px;
    background: #000;
    box-shadow: 0 50px 0 #000;
    border-radius: 2px 0 0 2px;
}

.power-button {
    position: absolute;
    right: -3px;
    top: 160px;
    width: 3px;
    height: 60px;
    background: #000;
    border-radius: 0 2px 2px 0;
}


/* اسکرین گوشی */

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

.screen iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 142.85%;
    height: 142.85%;
    border: none;
    transform: scale(0.7);
    transform-origin: top right;
    background: #fff;
}


/* --- بخش دکمه‌های انتخاب قالب --- */

.templates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.templates button {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid rgba(27, 142, 45, 0.25);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #1B8E2D;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    animation: floatingEffect 4s ease-in-out infinite;
}

.templates button:nth-child(even) {
    animation-delay: 1s;
}

.templates button:nth-child(3n) {
    animation-delay: 2s;
}

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

.templates button:hover {
    transform: scale(1.1) translateY(-5px);
    background: rgba(255, 255, 255, 0.85);
    border-color: #1B8E2D;
    animation-play-state: paused;
}

.templates button.active {
    background: #1B8E2D;
    color: #fff;
    box-shadow: 0 20px 40px rgba(27, 142, 45, 0.4);
    border-color: #1B8E2D;
    animation-play-state: paused;
    transform: scale(1.05);
}


/* دکمه باز کردن قالب ها در موبایل */

.theme-toggle {
    display: none;
    margin: 0px auto;
    padding: 12px 22px;
    background: #1B8E2D;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}


/* مودال قالب ها */

.theme-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.theme-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
}

.theme-close {
    cursor: pointer;
    font-size: 28px;
}


/* بهینه‌سازی برای موبایل */

@media (max-width: 768px) {
    .demo-wrapper {
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
    }
    .demo-wrapper>.templates {
        display: none;
    }
    .theme-toggle {
        display: block;
    }
    .theme-modal .templates {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .theme-modal .templates {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .theme-modal .templates button {
        width: 80px;
        height: 80px;
        font-size: 12px;
    }
}


/* اسلایدر قالب ها در موبایل */

.mobile-theme-slider {
    display: none;
}

@media (max-width:768px) {
    .theme-toggle {
        display: none;
    }
    .mobile-theme-slider {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 10px 5px 20px;
        margin-bottom: 10px;
        scrollbar-width: none;
    }
    .mobile-theme-slider::-webkit-scrollbar {
        display: none;
    }
    .mobile-theme-slider button {
        flex: 0 0 auto;
        padding: 10px 16px;
        border-radius: 30px;
        border: 1px solid rgba(27, 142, 45, 0.3);
        background: #fff;
        color: #1B8E2D;
        font-weight: 600;
        cursor: pointer;
        transition: 0.3s;
        white-space: nowrap;
    }
    .mobile-theme-slider button.active {
        background: #1B8E2D;
        color: #fff;
    }
}


/* FEATURES */

:root {
    --main-green: #1B8E2D;
    --light-green: #34c759;
}

.iq-features {
    padding: 25px;
    padding-bottom: 75px;
    direction: rtl;
    background: #ffffff;
    min-height: 800px;
}


/* --- استایل هماهنگ هدر (مشابه بخش دمو) --- */

.features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    /* فاصله بیشتر برای جدا شدن از دایره */
}

.features-title {
    font-size: 36px;
    color: var(--main-green);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-green), var(--light-green));
    margin: 0 auto 25px;
    border-radius: 10px;
}

.features-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
}


/* --- استایل دایره ویژگی‌ها --- */

.holderCircle {
    width: 500px;
    height: 500px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s ease;
}

.round {
    position: absolute;
    width: 410px;
    height: 410px;
    border: 2px dashed #e0e0e0;
    border-radius: 100%;
    z-index: 1;
}

.dotCircle {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
}

.itemDot {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    position: absolute;
    background: #ffffff;
    color: var(--main-green);
    border-radius: 20px;
    font-size: 30px;
    z-index: 3;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.itemDot:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--light-green);
    color: var(--light-green);
}

.itemDot.active {
    background: var(--main-green) !important;
    color: #fff !important;
    border-color: var(--main-green);
    box-shadow: 0 15px 35px rgba(27, 142, 45, 0.35);
    z-index: 10;
}


/* محتوای مرکز دایره */

.contentCircle {
    width: 320px;
    text-align: center;
    z-index: 5;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    padding: 20px;
    transition: transform 0.8s ease;
}

.CirItem h2.title {
    font-size: 24px;
    color: var(--main-green);
    font-weight: 700;
    margin-bottom: 15px;
}

.CirItem p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.CirItem {
    display: none;
    animation: slideIn 0.5s ease forwards;
}

.CirItem.active {
    display: block;
}

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


/* واکنش‌گرا (Responsive) */

@media (max-width: 767px) {
    .features-title {
        font-size: 28px;
    }
    .holderCircle {
        width: 320px;
        height: 320px;
    }
    .round {
        width: 260px;
        height: 260px;
    }
    .itemDot {
        width: 60px;
        height: 60px;
        font-size: 22px;
        border-radius: 15px;
    }
    .contentCircle {
        width: 200px;
    }
    .CirItem h2.title {
        font-size: 18px;
    }
}


/* PRICING */

:root {
    --main-green: #1B8E2D;
    --light-green: #34c759;
    --bg-light: #f8f9fa;
    --text-dark: #2d3436;
    --text-muted: #636e72;
}

.pricing-section {
    padding: 0;
    padding-top: 100px;
    direction: rtl;
    background: #ffffff;
}


/* --- استایل هماهنگ هدر سایت --- */

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.main-title {
    font-size: 36px;
    color: var(--main-green);
    font-weight: 800;
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-green), var(--light-green));
    margin: 0 auto 25px;
    border-radius: 10px;
}

.sub-title {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
}


/* --- سوییچ ماهانه/سالانه --- */

.main-toggle-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}


/* --- حذف نقاط اضافه و اصلاح نهایی سوییچ --- */

.toggle-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    /* استفاده از این روش برای اطمینان از دیده نشدن رادیو باتن‌ها در تمام مرورگرها */
}

.toggle-wrapper {
    position: relative;
    display: flex;
    background: #f1f3f5;
    padding: 4px;
    border-radius: 50px;
    width: 240px;
    height: 50px;
    align-items: center;
    border: 1px solid #e9ecef;
    cursor: pointer;
    overflow: hidden;
    /* برای جلوگیری از بیرون زدن هایلایتر */
}

.toggle-wrapper label {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    z-index: 2;
    font-weight: bold;
    color: #777;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    /* کمی درشت‌تر طبق تصویر */
    margin: 0;
    /* حذف مارجین احتمالی */
}


/* رنگ متن وقتی انتخاب شده است */

.toggle-wrapper input:checked+label {
    color: #fff;
}

.highlighter {
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 4px;
    width: calc(50% - 4px);
    background: var(--main-green);
    border-radius: 50px;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* جابجایی هایلایتر به سمت چپ وقتی ماهانه انتخاب شد */

.toggle-wrapper input#billing_monthly:checked~.highlighter {
    right: calc(50%);
}


/* اطمینان از چسبیدن به راست وقتی سالانه انتخاب شد */

.toggle-wrapper input#billing_yearly:checked~.highlighter {
    right: 4px;
}


/* --- کارت‌های تعرفه --- */

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.price-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 30px;
    padding: 50px 35px;
    flex: 1;
    min-width: 320px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
}

.price-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
    border: 2px solid var(--main-green);
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(27, 142, 45, 0.15);
}

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

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--main-green);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
}

.plan-name {
    font-size: 1.6rem;
    color: var(--main-green);
    margin-bottom: 25px;
    font-weight: 800;
}

.price-display-wrapper {
    margin-bottom: 30px;
}

.old-price-row {
    height: 25px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 1.1rem;
}

.discount-tag {
    background: #e8f5e9;
    color: var(--main-green);
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-dark);
}

.currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    vertical-align: super;
    margin-right: 5px;
}

.total-yearly-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}


/* لیست ویژگی‌ها */

.price-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px;
    text-align: right;
    /* برای لیست فارسی راست‌چین بهتر است */
}

.price-features li {
    padding: 12px 0;
    color: #4a5568;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-check {
    color: var(--main-green);
    font-weight: bold;
    font-size: 16px;
}

.feature-miss {
    color: #cbd5e0;
    font-weight: bold;
    font-size: 16px;
}


/* دکمه عملیاتی */

.cta-btn {
    background: var(--main-green);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.1rem;
    margin-top: auto;
}

.cta-btn:hover {
    background: var(--light-green);
    box-shadow: 0 10px 25px rgba(52, 199, 89, 0.3);
}

@media (max-width: 992px) {
    .price-card.featured {
        transform: scale(1);
    }
    .price-card.featured:hover {
        transform: translateY(-15px);
    }
}

.mobile-plan-toggle {
    display: none;
}

@media (max-width:768px) {
    .mobile-plan-toggle {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 25px;
        flex-wrap: wrap;
    }
    .plan-toggle-btn {
        border: none;
        background: #f1f3f5;
        padding: 10px 18px;
        border-radius: 30px;
        font-weight: 700;
        cursor: pointer;
        color: #555;
        transition: .25s;
    }
    .plan-toggle-btn.active {
        background: var(--main-green);
        color: #fff;
    }
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }
    .pricing-container .price-card {
        display: none;
        width: 100%;
        max-width: 420px;
    }
    .pricing-container .price-card.active {
        display: flex;
    }
    .mobile-plan-tabs {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 10px 0;
        margin-bottom: 20px;
        scrollbar-width: none;
    }
    .mobile-plan-tabs::-webkit-scrollbar {
        display: none;
    }
    .plan-tab {
        flex: 0 0 auto;
        padding: 10px 18px;
        border-radius: 20px;
        border: 1px solid #ddd;
        background: #f5f5f5;
        font-size: 14px;
        cursor: pointer;
        transition: all .2s;
    }
    .plan-tab.active {
        background: #1B8E2D;
        color: white;
        border-color: #1B8E2D;
    }
}

.mobile-plan-tabs {
    display: none;
}

@media (max-width:768px) {
    .mobile-plan-tabs {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 10px 0;
        margin: 25px 0;
        justify-content: center;
    }
    .mobile-plan-tabs::-webkit-scrollbar {
        display: none;
    }
    .plan-tab {
        padding: 10px 18px;
        border-radius: 30px;
        border: none;
        background: #f1f3f5;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }
    .plan-tab.active {
        background: var(--main-green);
        color: white;
    }
}


/* TESTIMONIAL */

:root {
    --main-green: #1B8E2D;
    --light-green: #34c759;
    --text-dark: #2d3436;
    --text-muted: #636e72;
}

#testimonials {
    width: 100%;
    background-color: #fafafa;
    overflow: hidden;
    padding: 100px 0;
    direction: rtl;
}

.testimonial-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


/* --- استایل هماهنگ هدر سایت --- */

.testimonial-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.testimonial-header .main-title {
    font-size: 36px;
    color: var(--main-green);
    font-weight: 800;
    margin-bottom: 15px;
}

.testimonial-header .title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-green), var(--light-green));
    margin: 0 auto 25px;
    border-radius: 10px;
}

.testimonial-header .sub-title {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
}


/* --- تنظیمات Embla Carousel --- */

.embla {
    position: relative;
    width: 100%;
}

.embla__viewport {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
    padding-top: 0px !important;
}

.embla__container {
    display: flex;
    margin-left: -50px;
    /* ایجاد فاصله بین اسلایدها */
}

.embla__slide {
    position: relative;
    min-width: 0;
    flex: 0 0 100%;
    padding-left: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .embla__slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1100px) {
    .embla__slide {
        flex: 0 0 40%;
    }
}


/* --- استایل کارت‌های نظرات --- */

.testimonial-card {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 30px;
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 520px;
    position: relative;
    opacity: 0.4;
    filter: blur(1px);
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}


/* کارت فعال و انتخاب شده */

.embla__slide.is-selected .testimonial-card {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    border-color: var(--main-green);
    box-shadow: 0 20px 45px rgba(27, 142, 45, 0.12);
}

.avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    position: relative;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quote {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
    font-style: italic;
    position: relative;
}


/* اضافه کردن علامت کوتیشن تزئینی */

.quote::before {
    content: '“';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 4rem;
    color: var(--main-green);
    opacity: 0.1;
}

.cite {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.15rem;
    margin: 0;
}


/* --- دکمه‌های کنترل و دات‌ها --- */

.embla__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.embla__btn {
    background: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid #eee;
    cursor: pointer;
    color: var(--main-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.embla__btn:hover {
    background: var(--main-green);
    color: #fff;
    border-color: var(--main-green);
    transform: translateY(-3px);
}

.embla__dots {
    display: flex;
    gap: 8px;
}

.embla__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.embla__dot[aria-selected="true"] {
    background: var(--main-green);
    width: 35px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .testimonial-header .main-title {
        font-size: 28px;
    }
    .testimonial-card {
        padding: 40px 25px;
    }
    .embla__slide {
        flex: 0 0 100%;
    }
}


/* TIMELINE */


/* --- بخش سیستم ما چطور کار می‌کند (نسخه نهایی و یکپارچه) --- */

:root {
    --primary-green: #34c759;
    --dark-green: #1B8E2D;
    --line-gray: #e0e0e0;
    --text-main: #2d3436;
    --text-muted: #636e72;
}


/* پدینگ 20 پیکسلی در بالا و پایین طبق درخواست شما */

#how-it-works {
    padding: 60px 0;
    background-color: #ffffff;
    /* یا هماهنگ با پس‌زمینه سایت شما */
}

.process-wrapper {
    direction: rtl;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}


/* --- استایل هماهنگ هدر (مشابه بخش دمو و تعرفه‌ها) --- */

.process-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.process-intro .main-title {
    font-size: 36px;
    color: var(--dark-green);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}


/* المان خط زیرین سبز که در تمام بخش‌ها تکرار شده */

.process-intro .title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-green), var(--primary-green));
    margin: 0 auto 25px;
    border-radius: 10px;
}

.process-intro .sub-title {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0 auto;
}


/* --- تایم‌لاین و خط پیشرفت --- */

.timeline-header {
    position: relative;
    padding: 20px 0;
}

.steps-row {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-bottom: 40px;
}

.line-background {
    position: absolute;
    top: 105px;
    /* مرکز دقیق دایره‌ها */
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line-gray);
    z-index: 1;
}

.line-progress {
    position: absolute;
    top: 105px;
    right: 0;
    height: 3px;
    background: var(--primary-green);
    z-index: 2;
    width: 0%;
    /* توسط جاوااسکریپت کنترل می‌شود */
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(52, 199, 89, 0.4);
}

.step-item {
    flex: 1;
    text-align: center;
    z-index: 3;
    cursor: pointer;
}


/* --- استایل کانتینر آیکن‌ها --- */

.icon-container {
    width: 75px;
    height: 75px;
    background: #ffffff;
    border-radius: 22px;
    /* لبه‌های گرد مشابه آیکون‌های اپل */
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.icon-container svg {
    width: 32px;
    height: 32px;
    fill: #bbb;
    transition: 0.4s;
}

.dot {
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 2px solid var(--line-gray);
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: 0.4s;
    position: relative;
    z-index: 4;
}

.label {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 800;
    transition: 0.3s;
}


/* --- استایل وضعیت فعال (Active Step) --- */

.step-item.active .icon-container {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(52, 199, 89, 0.3);
    border: 1px solid rgba(52, 199, 89, 0.2);
}


/* استفاده از گرادینت برای آیکون فعال (اگر SVG اجازه دهد) */

.step-item.active svg {
    fill: var(--dark-green);
}

.step-item.active .dot {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(52, 199, 89, 0.5);
}

.step-item.active .label {
    color: var(--dark-green);
}


/* --- باکس نمایش جزئیات --- */

.details-box {
    background: #ffffff;
    padding: 45px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    margin-top: 10px;
    border-right: 6px solid var(--primary-green);
    /* نوار سبز کناری برای تاکید */
    transition: all 0.3s ease;
}

.content-panel {
    display: none;
    animation: slideUp 0.5s ease forwards;
}

.content-panel.active {
    display: block;
}

.content-panel h3 {
    color: var(--dark-green);
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 800;
}

.content-panel p {
    color: #555;
    line-height: 1.9;
    font-size: 16px;
    margin: 0;
}


/* --- انیمیشن ظهور محتوا --- */

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


/* --- بهینه‌سازی برای موبایل --- */

@media (max-width: 768px) {
    .process-intro .main-title {
        font-size: 28px;
    }
    .icon-container {
        width: 60px;
        height: 60px;
    }
    .icon-container svg {
        width: 26px;
        height: 26px;
    }
    .label {
        font-size: 12px;
    }
    .line-background,
    .line-progress {
        top: 90px;
    }
    .details-box {
        padding: 30px 20px;
    }
}

.icon-container i {
    font-size: 28px;
    color: #bbb;
    transition: .4s;
}

.step-item.active .icon-container i {
    color: #1B8E2D;
}


/* FAQ */

:root {
    --main-green: #1B8E2D;
    --light-green: #34c759;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --border-color: #eee;
}

.faq-section {
    padding: 80px 0;
    direction: rtl;
    background-color: #ffffff;
}

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


/* --- استایل هماهنگ هدر سایت --- */

.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    /* فاصله بیشتر تا آکاردئون‌ها برای دلباز شدن دیزاین */
}

.faq-header .main-title {
    font-size: 36px;
    color: var(--main-green);
    font-weight: 800;
    margin-bottom: 15px;
}

.faq-header .title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-green), var(--light-green));
    margin: 0 auto 25px;
    border-radius: 10px;
}

.faq-header .sub-title {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
}


/* --- چیدمان محتوا --- */

.faq-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.faq-content {
    flex: 1.2;
    min-width: 320px;
}

.faq-image {
    flex: 0.8;
    min-width: 320px;
    text-align: center;
}


/* --- استایل آکاردئون (بدون باکس جستجو) --- */

.accordion-item {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item:hover {
    border-color: var(--light-green);
    transform: translateX(-5px);
    /* افکت حرکت جزئی به سمت راست (چون RTL است) */
}

.accordion-item.active {
    border-color: var(--main-green);
    box-shadow: 0 15px 35px rgba(27, 142, 45, 0.08);
    transform: translateX(0);
}

.accordion-header {
    padding: 22px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.1rem;
    transition: 0.3s;
}

.accordion-item.active .accordion-header {
    color: var(--main-green);
}

.accordion-header .icon {
    font-size: 0.9rem;
    color: var(--main-green);
}

.accordion-body {
    padding: 0 30px 25px 30px;
    display: none;
    line-height: 1.9;
    color: var(--text-muted);
    font-size: 1rem;
    animation: fadeIn 0.4s ease;
}

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


/* --- انیمیشن تصویر --- */

.faq-image img {
    max-width: 100%;
    height: auto;
    animation: float 5s ease-in-out infinite;
}

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


/* --- واکنش‌گرا --- */

@media (max-width: 992px) {
    .faq-wrapper {
        flex-direction: column-reverse;
        gap: 40px;
    }
    .faq-header .main-title {
        font-size: 28px;
    }
}


/* CONTACT */

:root {
    --main-green: #1B8E2D;
    --light-green: #34c759;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --input-bg: #fdfdfd;
}

#contact {
    padding: 80px 0;
    direction: rtl;
    /* جهت کلی راست به چپ */
    background-color: #fafafa;
}

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


/* --- استایل هدر (راست‌چین شده) --- */

.contact-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 50px;
    margin: 0 auto 50px auto;
}

.contact-header .main-title {
    font-size: 32px;
    color: var(--main-green);
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-header .title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-green), var(--light-green));
    margin: 10px auto 20px auto;
    /* چسباندن خط به سمت راست */
    border-radius: 10px;
}

.contact-header .sub-title {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}


/* --- چیدمان اصلی --- */

.contact-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch;
    /* هم‌ارتفاع شدن فرم و کارت سبز */
}


/* --- بخش فرم سفید --- */

.contact-form-container {
    flex: 1.5;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    min-width: 320px;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.form-group label {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: var(--input-bg);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
    text-align: right;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--light-green);
    background: #fff;
    box-shadow: 0 5px 15px rgba(52, 199, 89, 0.08);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--light-green);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    transition: 0.3s;
}

.submit-btn:hover {
    background: var(--main-green);
    transform: translateY(-2px);
}


/* --- بخش کارت اطلاعات (سبز) --- */

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-card {
    background: linear-gradient(135deg, var(--main-green) 0%, #156d22 100%);
    color: #fff;
    padding: 40px;
    border-radius: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* فاصله بین متون و آیکون‌های اجتماعی */
    align-items: flex-start;
    /* جلوگیری از وسط‌چین شدن محتوا */
    text-align: right;
    box-sizing: border-box;
}

.info-items-group {
    width: 100%;
}

.info-item {
    display: flex;
    flex-direction: row;
    /* آیکون سمت راست، متن سمت چپ */
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.info-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.info-text p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}


/* --- شبکه‌های اجتماعی --- */

.social-links {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
    /* شروع آیکون‌ها از سمت راست */
    border-top: 1px dotted rgba(255, 255, 255, 0.2);
    padding-top: 25px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: #fff;
    color: var(--main-green) !important;
    transform: translateY(-3px);
}


/* --- واکنش‌گرا --- */

@media (max-width: 992px) {
    .contact-header {
        text-align: center;
    }
    .contact-header .title-underline {
        margin: 10px auto 20px;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-info {
        order: 2;
    }
    .contact-form-container {
        order: 1;
    }
}

.contact-success {
    background: #1B8E2D;
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}


/* footer */

footer {
    padding: 60px 0 30px;
    background: #111;
    color: #fff;
    text-align: center;
    direction: rtl;
}

.footer-content {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--light-green);
    margin-bottom: 15px;
}

.copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}


/* call to action */

.cta-section {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background: #fff;
}

.cta-container {
    position: relative;
    max-width: 1100px;
    width: 100%;
    padding: 70px 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, #1B8E2D, #27b43d);
    color: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
}

.cta-title span {
    color: #d8ffe0;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary {
    background: #fff;
    color: #1B8E2D;
    padding: 16px 38px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
    border: 2px solid #fff;
    color: #fff;
    padding: 16px 34px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}


/* glow effect */

.cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
    top: -150px;
    left: -150px;
    animation: glowMove 8s infinite alternate;
}

@keyframes glowMove {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(120px, 80px);
    }
}

@media(max-width:768px) {
    .cta-title {
        font-size: 30px;
    }
    .cta-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 0 16px;
    }
    .cta-container {
        padding: 45px 22px;
        border-radius: 22px;
    }
    .cta-title {
        font-size: 26px;
        line-height: 1.5;
    }
    .cta-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 14px;
    }
    .cta-primary,
    .cta-secondary {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
    .cta-glow {
        width: 320px;
        height: 320px;
        top: -120px;
        left: -120px;
        opacity: 0.5;
    }
}