@font-face {
    font-family: 'iranyekan';
    src: url('../fonts/iranyekanr.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-feature-settings: "ss02";
    font-display: swap;

}

@font-face {
    font-family: 'iranyekan';
    src: url('../fonts/iranyekanb.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-feature-settings: "ss02";
    font-display: swap;

}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap !important;
    src: url('../webfonts/fa-solid-900.woff2') format('woff2');
}

body {
    font-family: 'iranyekan', 'Vazirmatn', sans-serif !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    background-color: var(--bg);
    color: var(--text-color);
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% -20%, #0c0a1a 0%, var(--bg) 60%);
}
.ss02 {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}
.woocommerce,
.woocommerce * {
    font-family: 'iranyekan' !important;
}


/* ۲. استایل هیرو و هاله نوری تقویت شده پشت موس */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.mouse-glow {
    position: fixed;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.12) 0%, rgba(0, 255, 204, 0.03) 40%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(176, 38, 255, 0.08);
    border: 1px solid rgba(176, 38, 255, 0.2);
    color: #d8b4fe;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.status-pill .dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
}

.hero-title {
    font-size: 3.2rem; /* کمی تعدیل شد برای خوانایی و شیک‌تر شدن */
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.neon-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 15px rgba(0, 255, 204, 0.3));
}

.hero-subtitle {
    color: #9ca3af;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn-glow {
    background: var(--accent);
    color: #020204;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 255, 204, 0.7);
}

.btn-text {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.btn-text:hover {
    gap: 1rem;
    color: var(--accent);
}

/* ==========================================
   ساختار اصلی جهان سه بعدی مکعب و مدارها
========================================== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 550px;
    perspective: 2000px;
}

.cube-orbit-universe {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
}

/* هاله نوری بک‌گراند */
.universe-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 25px; left: 25px;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.45) 0%, rgba(168, 85, 247, 0.25) 55%, transparent 70%);
    filter: blur(55px);
    z-index: 1;
    pointer-events: none;
    transform: translateZ(-150px);
}

/* ==========================================
   حرکت و چرخش مداوم ۳بعدی مکعب (Core Cube)
========================================== */
.core-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: totalCubeSpin 20s linear infinite;
    z-index: 5;
}

@keyframes totalCubeSpin {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* هوور تعاملی: ایستادن در زاویه شیک برای خواندن راحت تمام سطوح */
.cube-orbit-universe:hover .core-cube {
    animation-play-state: paused;
    transform: rotateX(25deg) rotateY(45deg) scale(1.05);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ==========================================
   استایل صلب و پرکنتراست وجوه مکعب
========================================== */
.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 75px;
    left: 75px;
    background: #0d0b14; /* مشکی صلب برای عدم محو شدن در تم دارک */
    border: 2px solid rgba(0, 245, 212, 0.5);
    box-shadow: 0 0 30px rgba(0, 245, 212, 0.15), inset 0 0 15px rgba(0, 245, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    backface-visibility: visible;
}

/* مختصات‌دهی دقیق وجوه ۶ گانه در فضا (فاصله انتقال ۱۰۰ پیکسل بر اساس ابعاد ۲۰۰px) */
.face-front  { transform: rotateY(0deg) translateZ(100px); border-color: #00f5d4; }
.face-back   { transform: rotateY(180deg) translateZ(100px); border-color: #00f5d4; }
.face-right  { transform: rotateY(90deg) translateZ(100px); border-color: #a855f7; box-shadow: 0 0 30px rgba(168, 85, 247, 0.15); }
.face-left   { transform: rotateY(-90deg) translateZ(100px); border-color: #a855f7; }
.face-top    { transform: rotateX(90deg) translateZ(100px); border-color: #ffffff; box-shadow: 0 0 25px rgba(255, 255, 255, 0.15); }
.face-bottom { transform: rotateX(-90deg) translateZ(100px); border-color: #ffffff; }

/* طراحی متون روی وجوه */
.face-content {
    text-align: center;
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
    padding: 15px;
}

.face-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 6px;
}
.face-front .face-icon, .face-back .face-icon { color: #00f5d4; filter: drop-shadow(0 0 10px #00f5d4); }
.face-top .face-icon, .face-bottom .face-icon { color: #ffffff; filter: drop-shadow(0 0 10px #ffffff); }
.face-right .face-icon, .face-left .face-icon { color: #a855f7; filter: drop-shadow(0 0 10px #a855f7); font-weight: 900; }

.face-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
}

.face-content p {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
    white-space: nowrap;
}

/* ==========================================
   اصلاح فواصل: مدارهای نئونی کاملاً بیرونی (Velocity Orbits)
========================================== */
.velocity-orbit {
    position: absolute;
    border: 2.5px dashed rgba(0, 245, 212, 0.4);
    border-radius: 50%;
    pointer-events: none;
    transform-style: preserve-3d;
}

/* مدار اول: کاملاً بزرگتر از حجم مکعب برای خارج شدن از آن */
.orbit-1 {
    top: -20px; left: -20px;
    width: 390px; height: 390px;
    border-color: #00f5d4;
    transform: rotateX(65deg) rotateY(20deg);
    animation: spinOrbit1 7s linear infinite;
    filter: drop-shadow(0 0 10px #00f5d4);
}

/* مدار دوم: عریض‌تر و با زاویه متقاطع */
.orbit-2 {
    top: -45px; left: -45px;
    width: 440px; height: 440px;
    border-color: #a855f7;
    transform: rotateX(25deg) rotateY(65deg);
    animation: spinOrbit2 10s linear infinite;
    filter: drop-shadow(0 0 10px #a855f7);
}

@keyframes spinOrbit1 { 100% { transform: rotateX(65deg) rotateY(20deg) rotate(360deg); } }
@keyframes spinOrbit2 { 100% { transform: rotateX(25deg) rotateY(65deg) rotate(-360deg); } }

/* ==========================================
   ریسپانسیو بهینه موبایل
========================================== */
@media (max-width: 968px) {
    .hero-visual { height: 380px; }
    .cube-orbit-universe { width: 240px; height: 240px; }
    .cube-face { width: 130px; height: 130px; top: 55px; left: 55px; padding: 5px; }
    .face-front  { transform: rotateY(0deg) translateZ(65px); }
    .face-back   { transform: rotateY(180deg) translateZ(65px); }
    .face-right  { transform: rotateY(90deg) translateZ(65px); }
    .face-left   { transform: rotateY(-90deg) translateZ(65px); }
    .face-top    { transform: rotateX(90deg) translateZ(65px); }
    .face-bottom { transform: rotateX(-90deg) translateZ(65px); }
    .velocity-orbit { display: none; } /* غیرفعال در موبایل برای بهبود روانی اسکرول */
    .face-content h3 { font-size: 0.85rem; }
    .face-content p { font-size: 0.6rem; }
    .face-icon { font-size: 1.3rem; margin-bottom: 2px; }
}
/* ==========================================
   ریسپانسیو جامع و اصلاح‌شده بخش هیرو موبایل
========================================== */

@media (max-width: 968px) {
    /* تنظیمات اصلی بخش هیرو در موبایل */
    .hero-section {
        /* کاهش مارجین بالای کلی بخش هیرو */
        padding-top: 20px !important; 
        min-height: auto !important; /* حذف ارتفاع کامل صفحه برای موبایل */
    }

    /* تنظیمات شبکه هیرو در موبایل */
    .hero-grid {
        grid-template-columns: 1fr !important; /* تبدیل به یک ستون */
        text-align: center !important; /* تراز وسط متن‌ها */
        gap: 0 !important; /* حذف فاصله بین متن و المان بصری */
        padding: 1rem !important; /* کاهش پدینگ داخلی */
    }

    /* تنظیم ترتیب المان‌ها: ابتدا متن، سپس المان بصری */
    .hero-content {
        order: 1 !important; /* اولویت اول برای متن */
    }

    .hero-visual {
        order: 2 !important; /* اولویت دوم برای المان بصری */
        /* تنظیم ارتفاع المان بصری در موبایل */
        height: 380px !important;
        margin-top: 20px !important; /* ایجاد فاصله کم از متن بالا */
    }

    /* کاهش اندازه فونت عنوان هیرو در موبایل */
    .hero-title {
        font-size: 2.2rem !important; /* اندازه فونت کوچک‌تر */
        font-weight: 800 !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    /* کاهش اندازه فونت زیرعنوان هیرو در موبایل */
    .hero-subtitle {
        font-size: 0.95rem !important; /* اندازه فونت کوچک‌تر */
        line-height: 1.8 !important;
        margin-bottom: 2rem !important;
        padding: 0 10px !important; /* اضافه کردن پدینگ جانبی برای خوانایی بهتر */
    }

    /* تنظیمات دکمه‌ها در موبایل */
    .hero-buttons {
        justify-content: center !important; /* تراز وسط دکمه‌ها */
        gap: 1.5rem !important; /* کاهش فاصله بین دکمه‌ها */
    }

    .btn-glow {
        padding: 0.8rem 1.8rem !important; /* کاهش اندازه دکمه */
        font-size: 0.9rem !important;
    }

    .btn-text {
        font-size: 0.9rem !important;
    }

    /* تنظیمات المان‌های سه بعدی (مکعب) در موبایل - اصلاح شده */
    .cube-orbit-universe {
        width: 240px !important;
        height: 240px !important;
    }

    .cube-face {
        width: 130px !important;
        height: 130px !important;
        top: 55px !important;
        left: 55px !important;
        padding: 5px !important;
    }

    /* تنظیم مجدد فواصل سه بعدی در موبایل */
    .face-front  { transform: rotateY(0deg) translateZ(65px) !important; }
    .face-back   { transform: rotateY(180deg) translateZ(65px) !important; }
    .face-right  { transform: rotateY(90deg) translateZ(65px) !important; }
    .face-left   { transform: rotateY(-90deg) translateZ(65px) !important; }
    .face-top    { transform: rotateX(90deg) translateZ(65px) !important; }
    .face-bottom { transform: rotateX(-90deg) translateZ(65px) !important; }

    /* حذف خطوط مداری در موبایل برای بهبود عملکرد */
    .velocity-orbit {
        display: none !important;
    }

    /* تنظیمات متن داخل سطوح مکعب در موبایل */
    .face-content h3 {
        font-size: 0.85rem !important;
    }

    .face-content p {
        font-size: 0.6rem !important;
    }

    .face-icon {
        font-size: 1.3rem !important;
        margin-bottom: 2px !important;
    }
}
/* ==========================================
     PORTFOLIO THEATRE (HYPER GLOW V2)
========================================== */
.portfolio-theatre {
    padding: 100px 2rem;
    background-color: #020204; /* مشکی عمیق */
    position: relative;
    overflow: hidden;
}

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

.theatre-header {
    text-align: center;
    margin-bottom: 50px;
}

.theatre-header .section-title {
    font-size: 3rem;
    font-weight: 950;
    color: #ffffff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
    margin-top: 10px;
}

.theatre-header .section-desc {
    color: #888ed8;
    max-width: 600px;
    margin: 15px auto 0 auto;
}

/* ساختار دو ستونه اصلی */
.theatre-main-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 60px;
}

/* دکمه‌های سوئیچ دسکتاپ / موبایل */
.device-switcher {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.switch-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8c8e9d;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.switch-btn.active {
    background: #ffffff;
    color: #09090e;
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* استیل دور تا دور فریم */
.screen-bezel {
    background: #09090e;
    border: 4px solid #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 45px rgba(255, 255, 255, 0.15);
}

.screen-display {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #000;
}

.screen-display img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: transform 6s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.3s ease-in-out;
}

/* ==========================================
   فریم مادر شبیه‌ساز (theatre-screen-wrapper)
========================================== */
.theatre-screen-wrapper {
    width: 100%;
    min-height: 620px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-container {
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* انیمیشن نرم سوئیچ بین دو حالت */
}

/* ==========================================
   وضعیت ۱: مانیتور ویندوز (دقیقاً مشابه حالت اول شما)
========================================== */
.device-container.mode-desktop {
    width: 100%;
    max-width: 720px;
}

/* قاب اصلی مانیتور با حاشیه نئونی سفید و پدینگ جذاب شما */
.device-container.mode-desktop .screen-bezel {
    background: #020204;
    border: 3px solid #ffffff; 
    border-radius: 24px;
    padding: 12px;
    position: relative;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(255, 255, 255, 0.15);
    overflow: hidden;
    height: 424px; /* ۴۰۰ پیکسل برای نمایشگر + ۲۴ پیکسل برای پدینگ بالا و پایین */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* نمایشگر داخلی مانیتور */
.device-container.mode-desktop .screen-display {
    width: 100%;
    height: 400px; 
    border-radius: 12px;
    overflow: hidden;
    background: #09090e;
    position: relative;
}

/* اسکرول هاور در حالت دسکتاپ */
.device-container.mode-desktop:hover .screen-display img {
    transform: translateY(calc(-100% + 400px)) !important; 
}

/* پایه و استند مانیتور (دقیقاً طبق کد اول شما) */
.monitor-stand {
    width: 140px;
    height: 60px;
    background: #12121c;
    border-left: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    margin: -3px auto 0 auto;
    clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top center;
}

/* سینی یا بیس مانیتور روی زمین (دقیقاً طبق کد اول شما) */
.monitor-base-v2 {
    width: 240px;
    height: 12px;
    background: #020204;
    border: 3px solid #ffffff;
    border-radius: 20px;
    margin: -3px auto 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* مخفی کردن المان‌های موبایل در حالت دسکتاپ */
.camera-notch, .home-bar-indicator {
    display: none;
}


/* ==========================================
   وضعیت ۲: گوشی موبایل (Mode Mobile)
========================================== */
.device-container.mode-mobile {
    width: 290px;
    height: 580px;
}

.device-container.mode-mobile .screen-bezel {
    width: 100%;
    height: 100%;
    background: #09090e;
    border: 4px solid #ffffff;
    border-radius: 40px; /* لبه‌های خمیده آیفونی */
    padding: 12px; /* پدینگ باریک‌تر برای بدنه موبایل */
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 255, 255, 0.15);
}

.device-container.mode-mobile .screen-display {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
    position: relative;
}

/* اسکرول هاور در موبایل */
.device-container.mode-mobile:hover .screen-display img {
    transform: translateY(calc(-100% + 552px)) !important; 
}

/* غیب شدن پایه و سینی مانیتور هنگام رفتن روی حالت موبایل */
.device-container.mode-mobile .monitor-stand {
    opacity: 0;
    transform: translateY(-20px) scaleY(0);
    pointer-events: none;
}

.device-container.mode-mobile .monitor-base-v2 {
    opacity: 0;
    transform: translateY(-20px) scaleX(0);
    pointer-events: none;
}


/* ==========================================
   المان‌های تعاملی آیفون (فقط در حالت موبایل ظاهر می‌شوند)
========================================== */
.device-container.mode-mobile .camera-notch {
    display: block;
    width: 90px;
    height: 15px;
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.device-container.mode-mobile .home-bar-indicator {
    display: block;
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}


/* ==========================================
   واکنش‌گرایی تبلت و موبایل (Responsive)
========================================== */
@media (max-width: 968px) {
    .theatre-main-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .device-container.mode-desktop {
        max-width: 100%;
    }
    
    .device-container.mode-desktop .screen-bezel {
        height: 310px; /* کاهش جزئی ارتفاع مانیتور در موبایل */
    }

    .device-container.mode-desktop:hover .screen-display img {
        transform: translateY(calc(-100% + 286px)) !important; 
    }
}
/* ==========================================
   بخش معرفی پروژه متنی و داک شیشه‌ای
========================================== */
.project-details-box {
    padding: 1rem;
}

.p-category {
    color: #888ed8;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.p-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff !important;
    margin: 0.8rem 0;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.p-desc {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.p-tech-stack {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.p-tech-stack span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.theatre-btn {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 1rem 2.2rem;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease;
}

.theatre-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.7) !important;
}

.theatre-dock-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.theatre-dock {
    display: flex;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem;
    border-radius: 24px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    overflow-x: auto;
    max-width: 95%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.dock-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 54px;
    height: 54px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dock-num {
    color: #94a3b8;
    font-weight: 800;
    font-size: 0.95rem;
}

.dock-item:hover, .dock-item.active {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.dock-item:hover .dock-num, .dock-item.active .dock-num {
    color: #020204;
}

/* ==========================================
   واکنش‌گرایی تبلت و موبایل (Responsive)
========================================== */
@media (max-width: 968px) {
    .theatre-main-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .device-container.mode-desktop {
        width: 100%;
        max-width: 480px;
        height: 290px;
    }

    .device-container.mode-desktop:hover .screen-display img {
        transform: translateY(calc(-100% + 261px)); 
    }
}
/* ==========================================
   MONITOR SPINNER (لودینگ موقت شبیه‌ساز)
========================================== */
.monitor-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 8; /* بالاتر از عکس و پایین‌تر از ناچ/وب‌کم */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* فعال شدن لودینگ */
.monitor-loader.show {
    opacity: 1;
}

/* حلقه چرخان نئونی بنفش/فیروزه‌ای شیک */
.spinner-ring {
    width: 45px;
    height: 45px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border-top: 3px solid #888ed8; /* هماهنگ با تم بنفش سایت شما */
    border-right: 3px solid rgba(136, 142, 216, 0.3);
    animation: spin-monitor 0.8s linear infinite;
    box-shadow: 0 0 15px rgba(136, 142, 216, 0.4);
}

@keyframes spin-monitor {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ==========================
     SERVICES SECTION
========================== */
.services-section {
    padding: 100px 2rem;
    position: relative;
    /* تغییر پس‌زمینه به سفید یکدست و تمیز */
    background-color: #ffffff; 
    color: #1e1b4b; /* تیره کردن متن عمومی این بخش برای خوانایی */
}

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

/* استایل عنوان بخش */
.section-title-area {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    /* تیره کردن تگ برای هماهنگی با پس‌زمینه روشن */
    color: #4f46e5; 
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 10px;
    background: rgba(79, 70, 229, 0.08);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.services-section .section-title {
    color: #0f172a; 
    margin-top: 10px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.section-desc {
    color: #888ed8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* شبکه کارت‌ها */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* استایل پایه کارت‌ها */
/* استایل کارت‌ها در پس‌زمینه روشن */
.service-card {
    background: #f8fafc; /* خاکستری بسیار روشن و شیک برای کارت‌ها */
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}


/* آیکون کارت */
.card-icon {
    color: #4f46e5; /* رنگ پیش‌فرض ملایم */
    background: rgba(79, 70, 229, 0.06);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* افکت هاور کارت‌ها در بستر سفید */
.service-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* اختصاصی کردن افکت‌های رنگی کارت‌ها روی هاور */
.service-card.card-purple:hover {
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.12);
}
.service-card.card-cyan:hover {
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.12);
}
.service-card.card-pink:hover {
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.12);
}

.services-section .section-desc {
    /* متن فرعی کمی روشن‌تر از مشکی */
    color: #475569; 
    max-width: 600px;
    margin: 15px auto 0 auto;
}


.service-card h3 {
    color: #0f172a;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

.service-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* هاله نوری مخفی پشت کارت‌ها */
.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

/* افکت‌های هاور کارت بنفش (UI/UX) */
.card-purple:hover {
    border-color: rgba(176, 38, 255, 0.3);
    transform: translateY(-10px);
    background: rgba(176, 38, 255, 0.02);
    box-shadow: 0 15px 35px rgba(176, 38, 255, 0.1);
}
.card-purple:hover .card-icon {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
}
.card-purple .card-glow {
    background: var(--accent-purple);
    bottom: -50px;
    left: -50px;
}
.card-purple:hover .card-glow {
    opacity: 0.3;
    transform: scale(1.5);
}

/* افکت‌های هاور کارت فیروزه‌ای (توسعه وب) */
.card-cyan:hover {
    border-color: rgba(0, 255, 204, 0.3);
    transform: translateY(-10px);
    background: rgba(0, 255, 204, 0.02);
    box-shadow: 0 15px 35px rgba(0, 255, 204, 0.1);
}
.card-cyan:hover .card-icon {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
}
.card-cyan .card-glow {
    background: var(--accent);
    bottom: -50px;
    left: -50px;
}
.card-cyan:hover .card-glow {
    opacity: 0.25;
    transform: scale(1.5);
}

/* افکت‌های هاور کارت صورتی نئون (سئو و سرعت) */
.card-pink:hover {
    border-color: rgba(255, 0, 123, 0.3);
    transform: translateY(-10px);
    background: rgba(255, 0, 123, 0.02);
    box-shadow: 0 15px 35px rgba(255, 0, 123, 0.1);
}
.card-pink:hover .card-icon {
    background: #ff007b;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 123, 0.4);
}
.card-pink .card-glow {
    background: #ff007b;
    bottom: -50px;
    left: -50px;
}
.card-pink:hover .card-glow {
    opacity: 0.25;
    transform: scale(1.5);
}

/* ریسپانسیو بخش خدمات */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .services-section {
        padding: 60px 1.5rem;
    }
}



/* ==========================================
   SECTION: WORKFLOW (فرآیند همکاری)
========================================== */
.portfolio-workflow {
    padding: 100px 2rem;
    background-color: #020204;
}

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

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 50px;
}

.workflow-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.workflow-num {
    font-size: 3rem;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 15px;
    left: 25px;
    transition: all 0.4s ease;
}

.workflow-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 15px;
}

.workflow-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* افکت هاور نئونی کارت‌های مراحل */
.workflow-card:hover {
    transform: translateY(-8px);
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 255, 255, 0.1);
}

.workflow-card:hover .workflow-num {
    color: #888ed8;
    text-shadow: 0 0 15px rgba(136, 142, 216, 0.5);
}

/* ==========================================
   SECTION: FAQ (سوالات متداول)
========================================== */
.theatre-faq {
    padding: 100px 2rem;
    background-color: #020204;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.faq-item[open] {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

/* آیکون فلش */
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #888ed8;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
    color: #ffffff;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.98rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

/* ==========================================
   SECTION: FINAL CTA (بخش تماس نهایی با فرم شیشه‌ای)
========================================== */
.final-cta-section {
    padding: 100px 2rem 140px 2rem;
    background-color: #020204;
}

.cta-container {
    max-width: 1100px;
    margin: 0 auto;
}

.cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 3px solid #ffffff;
    border-radius: 32px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 
        0 30px 70px rgba(0,0,0,0.8),
        0 0 50px rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-size: 2.6rem;
    font-weight: 950;
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-desc {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* فرم استایل نئونی */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.cta-form .theatre-btn {
    width: 100%;
    justify-content: center;
    cursor: pointer;
    border: none;
}

/* ==========================================
   واکنش‌گرایی کل بخش‌های جدید (Responsive)
========================================== */
@media (max-width: 968px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.8rem;
        gap: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}
html,
body,
div,
span,
p,
a,
li,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
button,
label {
    font-family: 'iranyekan' !important;
}

/* ============================= */
/* ======= MOBILE (768↓) ====== */
/* ============================= */

@media (max-width: 768px) {
.product-card img{
    height: 220px;
    width: 100% !important;
    object-fit: cover;

}
   
.container {
    overflow-x: hidden;
}
}


















   
 

  






