/* ---------- RESET & GLOBAL (بهینه شده برای ریسپانسیو) ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fffefe;
    color: #1A1F36;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f2f9;
}

::-webkit-scrollbar-thumb {
    background: #25D366;
    border-radius: 20px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

section {
    padding: 80px 0;
    position: relative;
}

.gradient-text {
    background: linear-gradient(115deg, #25D366 0%, #0F9D58 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- BUTTONS (ریسپانسیو) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 60px;
    text-decoration: none;
    transition: 0.25s ease;
    font-size: 14px;
    white-space: nowrap;
}

.btn-large {
    padding: 12px 24px;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(105deg, #25D366, #0F9D58);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 28px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #1A1F36;
}

.btn-outline:hover {
    background: white;
    border-color: #25D366;
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* ---------- HEADER (ریسپانسیو و شیشه‌ای) ---------- */
.header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 1320px;
    background: rgba(253, 251, 251, 0.95);
    backdrop-filter: blur(18px);
    border-radius: 60px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);  /* ← این خط اضافه شود */
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.header.scrolled {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: rgba(189, 241, 174, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #1A1F36;
    transition: 0.2s;
    font-size: 14px;
}

.nav-menu a:hover {
    color: #25D366;
}

.btn-meta {
    background: #25D366;
    color: white !important;
    padding: 6px 18px;
    border-radius: 50px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ---------- HERO SECTION (ریسپانسیو کامل) ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #F9FBFD 0%, #87acfd 100%);
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 211, 102, 0.12);
    backdrop-filter: blur(4px);
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    color: #0F9D58;
    margin-bottom: 20px;
}

.hero h3 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(14px, 3vw, 18px);
    color: #475569;
    margin-bottom: 24px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: #0F172A;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 670px;
    border-radius: 20px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    margin: 0 auto;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* ---------- SECTION HEADER ---------- */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-header h2,
.section-header h1 {
    font-size: clamp(24px, 5vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.section-header p {
    font-size: clamp(14px, 3vw, 18px);
    color: #5B6B8C;
}

/* ---------- SWIPER SLIDERS (ریسپانسیو) ---------- */
.swiper-slider-wrapper {
    margin-top: 20px;
    overflow: hidden;
}

.swiper {
    overflow: visible;
    padding: 10px 0 40px;
}

.swiper-slide {
    width: 260px;
    height: auto;
}

.slide-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.08);
    transition: all 0.35s;
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 35px -12px rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.3);
}

.card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-content p {
    color: #5B6B8C;
    font-size: 13px;
    line-height: 1.5;
}

.swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
}

.swiper-pagination-bullet-active {
    background: #25D366 !important;
}

/* ---------- GALLERY (اسلایدر) ---------- */
.gallery-swiper {
    width: 100%;
    overflow: visible;
    padding: 10px 0 30px;
}

.gallery-slide {
    width: 220px;
    height: auto;
}

.gallery-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px rgba(37, 211, 102, 0.15);
}

.gallery-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* ---------- ویژگی‌های ماژول (دو ستون - ریسپانسیو) ---------- */
.module-features {
    background: #ffffff;
    padding: 60px 0;
}

.features-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

.features-column {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 36px;
    padding: 30px 24px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.features-column:hover {
    transform: translateY(-4px);
    border-color: #25D366;
    box-shadow: 0 25px 40px -15px rgba(37, 211, 102, 0.2);
}

.column-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 700;
    color: #1A1F36;
    border-bottom: 2px solid rgba(37, 211, 102, 0.3);
    padding-bottom: 12px;
}

.column-title i {
    font-size: 24px;
    color: #25D366;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3a5e;
    padding: 4px 0;
    transition: transform 0.2s;
}

.feature-list li:hover {
    transform: translateX(5px);
}

.feature-list li i {
    font-size: 16px;
    color: #25D366;
    width: 22px;
    text-align: center;
}

/* ---------- FEATURES GRID (سه کارتی) ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(251, 244, 244, 0.91);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 28px 24px;
    transition: all 0.3s;
    border: 1px solid rgba(37, 211, 102, 0.15);
}

.feature-card:hover {
    border-color: #25D366;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 42px;
    color: #25D366;
    margin-bottom: 20px;
}

/* ---------- PRICING ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.pricing-card {
    background: white;
    border-radius: 32px;
    padding: 28px 24px;
    transition: 0.25s;
    border: 1px solid #E9EEF5;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #25D366;
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.1);
}

.best-value {
    font-size: 12px;
    background: #25D36610;
    padding: 2px 8px;
    border-radius: 30px;
    margin-left: 6px;
    display: inline-block;
}

.price {
    font-size: 42px;
    font-weight: 800;
    color: #0F172A;
    margin: 20px 0 16px;
}

.price span {
    font-size: 14px;
    font-weight: 500;
    color: #6B7B93;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.pricing-card li {
    margin-bottom: 10px;
    font-size: 14px;
}

/* ---------- FOOTER (ریسپانسیو) ---------- */
.footer {
    background: #0A0F1C;
    color: #B0B8C9;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: #B0B8C9;
    text-decoration: none;
    transition: 0.2s;
    font-size: 14px;
}

.footer-widget a:hover {
    color: #25D366;
}

.social-links a {
    font-size: 18px;
    margin-right: 15px;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1E2538;
    font-size: 13px;
}

/* ---------- MODAL (تصویر بزرگ) ---------- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    animation: modalFadeIn 0.3s;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-container {
    margin-top: 20px;
}

.modal-close-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-close-btn:hover {
    background: #128C7E;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---------- انیمیشن Fade-up ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- MEDIA QUERIES برای ریسپانسیو کامل ---------- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero p {
        max-width: 100%;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero h3 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    section {
        padding: 60px 0;
    }
    /* منوی موبایل */
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        transition: 0.3s;
        padding: 25px;
        z-index: 999;
        border-radius: 0 20px 20px 0;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }
    .header-inner {
        padding: 8px 16px;
    }
    .hero h3 {
        font-size: 28px;
    }
    .hero-stats {
        gap: 20px;
    }
    .stat-number {
        font-size: 24px;
    }
    /* دو ستون به یک ستون */
    .features-two-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .features-column {
        padding: 24px 20px;
    }
    .column-title {
        font-size: 20px;
    }
    .feature-list li {
        font-size: 13px;
    }
    .swiper-slide {
        width: 240px;
    }
    .gallery-slide {
        width: 200px;
    }
    .gallery-thumb {
        height: 130px;
    }
    .price {
        font-size: 36px;
    }
    .pricing-card {
        padding: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h3 {
        font-size: 24px;
    }
    .btn-large {
        padding: 10px 18px;
        font-size: 13px;
    }
    .section-header h2,
    .section-header h1 {
        font-size: 24px;
    }
    .swiper-slide {
        width: 220px;
    }
    .gallery-slide {
        width: 180px;
    }
    .gallery-thumb {
        height: 120px;
    }
    .feature-list li {
        font-size: 12px;
    }
}