:root {
    --body-bg: #0f172a; 
    --card-bg: rgba(30, 41, 59, 0.7);
    --primary-blue: #3b82f6;
    --accent-cyan: #22d3ee;
    --text-bright: #f8fafc;
    --text-dim: #cbd5e1;
}

body {
    font-family: 'Vazir', sans-serif;
    background-color: var(--body-bg);
    color: var(--text-bright);
    background-image: radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%);
    scroll-behavior: smooth;
}

/* ===== نویگیشن بار ===== */
.navbar {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(251, 251, 255, 0.09);
    padding: 12px 0;
}

.nav-link {
    color: #94a3b8 !important;
    transition: 0.3s;
    margin: 0 10px;
}

.nav-link:hover { color: var(--accent-cyan) !important; }

.ms-3 { padding: 0px 0px 0px 17px; }

/* دکمه تماس در هدر */
.btn-contact-header {
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.2);
}

.btn-contact-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.4);
    color: #fff;
}

.btn-contact-header i {
    font-size: 1.2rem;
    animation: phone-shake 2s infinite;
}

@keyframes phone-shake {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0); }
}

/* ===== هیرو سکشن ===== */

.hero-title { font-weight: 800; font-size: 3rem; margin-bottom: 20px; }
.hero-section .lead {
    color: #ffffff !important;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 1 !important;
}

/* ===== کارت‌ها و متون عمومی ===== */
.glass-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: 0.3s;
}

.glass-card:hover { transform: translateY(-10px); border-color: var(--primary-blue); }

.text-muted { color: #cbd5e1 !important; opacity: 1 !important; }

.feature-list { list-style: none; padding: 0; text-align: right; margin-top: 20px; }
.feature-list li {
    font-size: 0.9rem;
    color: #f1f5f9 !important;
    margin-bottom: 8px;
}
.feature-list li i { color: var(--accent-cyan); margin-left: 8px; }

/* ===== فرم تماس ===== */
.contact-form input, .contact-form textarea {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 12px;
    padding: 12px;
}

.contact-form input:focus, .contact-form textarea:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--accent-cyan);
    color: white;
    box-shadow: none;
}

/* ===== آیکون‌های شناور و لوگو نئونی ===== */
.floating-wrapper {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-icon {
    position: absolute;
    font-size: 2.5rem;
    color: var(--accent-cyan);
    opacity: 0.6;
    animation: floating 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.5));
}

@keyframes floating {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.icon-1 { top: 10%; left: 20%; animation-delay: 0s; }
.icon-2 { top: 40%; left: 5%; animation-delay: 0.5s; }
.icon-3 { bottom: 10%; left: 20%; animation-delay: 1s; }
.icon-4 { top: 25%; left: 50%; animation-delay: 1.5s; color: var(--primary-blue); }

.neon-logo-container { position: relative; display: inline-block; }
.neon-logo { animation: neon-pulse 3s infinite; transition: 0.5s; }

@keyframes neon-pulse {
    0% { filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(190deg) drop-shadow(0 0 5px rgba(59, 130, 246, 0.6)); }
    50% { filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(190deg) drop-shadow(0 0 25px rgba(59, 130, 246, 1)); }
    100% { filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(190deg) drop-shadow(0 0 5px rgba(59, 130, 246, 0.6)); }
}

.neon-logo:hover {
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 1)) drop-shadow(0 0 50px rgba(34, 211, 238, 0.6));
    transform: scale(1.05);
}

.logo-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    z-index: -1;
}

/* ===== بخش محصولات و انیمیشن موج (Ripple) ===== */
#products { overflow-x: clip; }
#products .section-head { text-align: center; margin: 0 auto 28px; max-width: 900px; padding: 10px 16px 0; }
#products .section-title { margin: 0 0 10px; font-size: clamp(20px, 2.2vw, 34px); font-weight: 800; color: #d8e7ff; }
#products .section-subtitle { margin: 0; font-size: clamp(13px, 1.2vw, 16px); line-height: 1.9; color: rgba(216, 231, 255, 0.75); }

.product-row { padding: 60px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.product-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.product-desc { color: #e2e8f0; line-height: 1.8; text-align: justify; }

.img-contain { max-width: 85%; max-height: 85%; object-fit: contain; }

#products .product-image-box {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: visible;
}

#products .product-image-box .img-contain { position: relative; z-index: 2; border-radius: 18px; }

#products .product-image-box::before,
#products .product-image-box::after {
    content:""; position:absolute; z-index: 1; pointer-events:none;
    border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%;
    width: 520px; height: 420px;
    left: 50%; top: 52%;
    transform: translate(-50%, -50%) scale(0.45);
    background: radial-gradient(closest-side, rgba(255,160,80,0) 50%, rgba(255,160,80,0.6) 54%, rgba(255,160,80,0) 62%, rgba(255,160,80,0.36) 68%, rgba(255,160,80,0) 76%);
    opacity: 0;
    will-change: transform, opacity, filter;
    contain: paint;
}

#products .product-image-box::before { animation: rippleOut 4.2s linear infinite, hueCycle 10s linear infinite; }
#products .product-image-box::after { animation: rippleOut 4.2s linear infinite, hueCycle 10s linear infinite; animation-delay: 2.1s, 0s; }

@keyframes rippleOut {
    0% { transform: translate(-50%, -50%) scale(0.45); opacity: 0.0; filter: blur(0.6px); }
    12% { opacity: 0.70; }
    100% { transform: translate(-50%, -50%) scale(1.55); opacity: 0.0; filter: blur(1.2px); }
}

@keyframes hueCycle {
    0% { filter: hue-rotate(0deg) saturate(1.25) blur(0.4px); }
    100% { filter: hue-rotate(360deg) saturate(1.25) blur(0.4px); }
}

.btn-product {
    background: linear-gradient(45deg, #3b82f6, #06b6d4);
    border: none;
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.btn-product:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5); color: white; }

/* ===== بخش دانلود ===== */
.download-card, .download-card-sm {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 30px;
    transition: all 0.4s ease;
    color: white;
}

.download-card.main-app { border-bottom: 4px solid #3b82f6; animation: card-floating 3s ease-in-out infinite; }
.download-icon {
    font-size: 3rem; margin-bottom: 15px;
    background: linear-gradient(45deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.btn-download {
    background: linear-gradient(45deg, #3b82f6, #06b6d4);
    color: white; border-radius: 50px; padding: 10px 25px;
    font-weight: bold; margin-top: 15px; box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.dl-link {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0; text-decoration: none; padding: 6px 15px;
    border-radius: 12px; font-size: 0.85rem; transition: 0.3s; border: 1px solid transparent;
}
.dl-link:hover { background: rgba(59, 130, 246, 0.2); border-color: #3b82f6; color: white; }

.download-card-sm { padding: 20px; text-align: right; height: 100%; }
.download-card-sm:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.08); border-color: rgba(59, 130, 246, 0.5); }

@keyframes card-floating { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }

/* ===== هاله‌های پس‌زمینه (Blobs) ===== */
.blob-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; filter: blur(80px); opacity: 0.4; border-radius: 50%; animation: moveBlobs 10s infinite alternate; }
.blob-1 { width: 500px; height: 500px; background: radial-gradient(circle, #c72dff, #2300af); top: -100px; right: -150px; animation-duration:10s; }
.blob-2 { width: 600px; height: 600px; background: radial-gradient(circle, #00d2ff, #3a7bd5); bottom: -200px; left: -200px; }
.blob-3 { width: 400px; height: 400px; background: radial-gradient(circle, #00f2fe, #4facfe); top: 40%; right: 20%; opacity: 0.2; animation-duration: 10s; }

@keyframes moveBlobs {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@media (max-width: 768px) {
  
    .hero-section h1 { font-size: 1.8rem !important; line-height: 1.5; }
    #products [data-aos], #faq [data-aos], #downloads [data-aos] { opacity: 1 !important; transform: none !important; visibility: visible !important; }
    #products .product-image-box::before, #products .product-image-box::after { width: 360px; height: 300px; }


    .hero-section { 
        padding-top: 71px !important;
        min-height: 100vh;
        display: flex;
        align-items: center;
        margin: 30px 10px 10px 10px!important;
    }

    
    .hero-section .container {
         padding: 10px 10px!important;
        margin: 0px!important;
    }

    .myHeroSwiper {
        padding-left: 4px;
        padding-right: 4px;
    }

    .feature-card {
        min-height: 240px;
        padding: 20px 16px;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.5;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.8;
    }

}




@media (prefers-reduced-motion: reduce) {
    #products .product-image-box::before, #products .product-image-box::after { animation: none !important; opacity: 0.25; transform: translate(-50%, -50%) scale(1.1); }
}

/* ===== FAQ Section ===== */
.faq__list { padding: 15px; scrollbar-gutter: stable; }
.scrollbar-custom::-webkit-scrollbar { width: 6px; }
.scrollbar-custom::-webkit-scrollbar-thumb { background: rgba(42, 166, 255, 0.3); border-radius: 10px; }

.faq__item {
    position: relative !important; display: flex !important; align-items: center !important; justify-content: flex-start !important;
    width: 100% !important; text-align: right !important; padding: 14px 18px !important; padding-left: 55px !important;
    margin-bottom: 12px !important; border-radius: 12px !important; background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.08) !important; color: #fff !important; transition: all 0.3s ease !important; cursor: pointer;
}

.faq__item:hover { border-color: rgba(42,166,255,0.35) !important; background: rgba(255,255,255,0.08) !important; }
.faq__item.is-active { background: rgba(42,166,255,0.10) !important; border-color: #2aa6ff !important; }

.faq__itemVisual {
    width: 40px; height: 40px; min-width: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: rgba(255,255,255,0.08); color: #2aa6ff; margin-left: 14px; flex-shrink: 0; order: -1;
}

.faq__item.is-active .faq__itemVisual { background: #2aa6ff; color: #fff; }

.faq__itemIcon {
    position: absolute !important; left: 18px !important; top: 50% !important;
    transform: translateY(-50%) !important; margin: 0 !important; padding: 0 !important;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}

.faq__item.is-active .faq__itemIcon { transform: translateY(-50%) rotate(180deg) !important; }

.h4 { color: #23a2ef; }

/* تنظیمات کلی اسلایدر */
.myHeroSwiper {
    padding-bottom: 55px !important;
    position: relative;
    padding: 20px 6px 55px !important; /* افزایش پدینگ پایین برای جلوگیری از تداخل نقاط */
    overflow: hidden; /* جلوگیری از بیرون زدگی */
    width: 100%;
}


/* افکت Hover روی کارت */
.feature-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #0dcaf0; /* رنگ Info */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* استایل آیکون‌ها */
.icon-box {
    font-size: 3.5rem;
    color: #0dcaf0;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(13, 202, 240, 0.6));
}

/* تیتر و متن داخل کارت */
.feature-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #d1d1d1;
    margin-bottom: 0;
}

/* رنگ نقطه‌های پیمایش پایین */
.swiper-pagination-bullet {
    background: #0dcaf0 !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px; /* کشیده شدن نقطه فعال */
    border-radius: 5px;
}
.myHeroSwiper .swiper-pagination{
    bottom: 15px !important;
    z-index: 20;
}



/* اصلاح کارت‌ها */
.feature-card {
    
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    height: auto; /* تغییر از 100% به auto */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 5px; /* ایجاد فاصله کوچک بین کارت‌ها */
    width: 100%;
    min-height: 250px;
    padding: 20px 16px;
    border-radius: 18px;
    box-sizing: border-box;
}

.hero-section {
    overflow: hidden;
    padding: 60px 0;
}
.hero-section { padding: 160px 0 80px;margin: 100px;}
.myHeroSwiper {
    width: 100%;
    padding: 20px 8px 55px;
}

.myHeroSwiper .swiper-slide {
    height: auto;
    display: flex;
}
