/*
 Framework: CVGACMS - Smart Estimation System
 Author: Alireza HP
 Dedicated to: Intelligent Project Analysis
 File: Templates/Other/CascadeStyleSheet.css
 Copyright: (c) 2026 CVGA Group
*//* 
    Created on : May 21, 2026, 11:30:29 PM
    Author     : cvga
*/
@font-face {
    font-family: 'Yekan';
    src: url('../../assets/font/Yekan.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html { 
    font-family: 'Yekan', Tahoma, Arial !important; 
}

*{ 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
body, html { height: 100%; width: 100%; overflow: hidden; font-family: Tahoma, Arial; }

#particles-js {
    position: fixed; width: 100%; height: 100%; top: 0; left: 0;
    z-index: 1;
}

.custom-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    z-index: 2;
}

.wrapper {
    position: relative; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    height: 100vh; width: 100vw;
}

.glass-card {
     background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 40px; padding: 50px 30px;
    width: 450px;
    max-width: 90%;
    text-align: center;  
    border-right: 2px solid rgba(0, 242, 254, 0.5) !important; /* لبه سمت ربات روشن‌تر شود */
    box-shadow: -10px 0 30px rgba(0, 210, 255, 0.1); /* سایه نوری در سمت مخالف */
    border: 1px solid rgba(0, 242, 254, 0.3);
    animation: card-glow 2s ease-in-out infinite alternate;
}

@keyframes card-glow {
    0% { box-shadow: 0 0 20px rgba(0, 210, 255, 0.1); }
    100% { box-shadow: 0 0 40px rgba(0, 210, 255, 0.3); }
}

.logo-area img {
    width: 150px;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.2)); /* یک هاله ملایم دور لوگو */
    height: auto;
    margin-bottom: 25px;
    display: inline-block;
}


h1 { 
    color: #00f2fe; /* آبی فیروزه‌ای روشن (دقیقاً رنگ بخش روشن لوگوت) */
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
    font-family: 'Yekan', Tahoma, sans-serif;
    font-size: 26px; 
    margin-bottom: 15px; 
}

p { 
    color: rgba(255, 255, 255, 0.8); 
    font-family: 'Yekan', Tahoma;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px; /* فاصله از پایین متن */
}

.btn-bale {
    margin-top: 30px; /* ایجاد فاصله از متن بالایی */
    display: inline-flex; 
    align-items: center;
    background: linear-gradient(45deg, #00d2ff, #3a7bd5); /* آبی فیروزه‌ای هماهنگ با لوگو */
    color: #fff; 
    padding: 12px 35px;
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold;
    font-family: 'Yekan', Tahoma;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    transition: 0.3s;
}

/* متن پاراگراف برای ایجاد فاصله بهتر */


.btn-bale:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(0, 82, 212, 0.6); 
    filter: brightness(1.1);
}

.robot-container {
    position: fixed;
    right: 50px; /* کمی آوردمش داخل‌تر */
    bottom: 50px;
    z-index: 15;
    display: flex;
    align-items: center;
}

.robot-ai {
    width: 280px; /* کوچک‌تر شد برای ایجاد حس فاصله */
    filter: drop-shadow(0 0 30px rgba(0, 210, 255, 0.3));
    animation: floating 4s ease-in-out infinite;
}

.glow-core {
    position: absolute;
    right: 139px; 
    top: 135px;
    width: 35px;
    height: 35px;
    background: #00f2fe;
    border-radius: 50%;
    filter: blur(8px);
    box-shadow: 0 0 30px #00f2fe, 0 0 60px rgba(0, 242, 254, 0.5);
    z-index: 20;
    /* انیمیشن دقیقاً مشابه هاله برای هماهنگی ضربان */
    animation: energy-pulse 2s ease-in-out infinite alternate;
}

.neon-beam {
    position: absolute;
    right: 139px; /* شروع از نزدیکی ربات */
    top: 135px;
    width: 600px;
    height: 600px;
    /* یک هاله‌ی دایره‌ای نرم به جای مثلث */
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    mix-blend-mode: screen;
    /* انیمیشن ضربان هماهنگ */
    animation: energy-pulse 2s ease-in-out infinite alternate;
}

/* ۳. افکت لرزش طبیعی نور */

@keyframes energy-pulse {
    0% { 
        transform: scale(0.95); 
        opacity: 0.5; 
    }
    100% { 
        transform: scale(1.1); 
        opacity: 0.9; 
    }
}



.services-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
}

/* مکان‌دهی دقیق دایره‌ها دور باکس مرکزی */
.service-bubble {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0, 10, 20, 0.6);
    border: 2px solid rgba(0, 242, 254, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.service-bubble i {
    font-size: 24px;
    color: #00f2fe;
    margin-bottom: 5px;
}

.service-label {
    position: absolute;
    bottom: -25px;
    white-space: nowrap;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 242, 254, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    opacity: 0.7;
}

/* موقعیت‌های دقیق تراز شده */
.service-bubble:nth-child(1) { top: 15%; left: 20%; }
.service-bubble:nth-child(2) { top: 15%; right: 20%; }
.service-bubble:nth-child(3) { top: 50%; left: 10%; transform: translateY(-50%); }
.service-bubble:nth-child(4) { bottom: 15%; left: 20%; }
.service-bubble:nth-child(5) { bottom: 15%; right: 20%; }

.service-bubble:hover, .service-bubble.active {
    border-color: #00f2fe;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
    transform: scale(1.15);
}

.service-bubble.active .service-label {
    background: #00f2fe;
    color: #000;
opacity: 1;
}

/* دکمه ثبت سفارش در پایین کل صفحه */
.order-action-area {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
}

.btn-order-neon {
    padding: 12px 35px;
    font-size: 18px;
    color: #00f2fe;
    border: 2px solid #00f2fe;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.btn-order-neon:hover {
    background: #00f2fe;
    color: #000;
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.8);
}

/* ۱. تایمر به‌صورت افقی و مدرن */
.cvga-countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
    direction: rtl;
}
.time-unit {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 8px;
    border-radius: 12px;
    min-width: 65px;
    text-align: center;
}
.time-unit span {
    display: block;
    font-size: 1.5rem;
    color: #00f2fe;
    font-family: 'Arial', sans-serif; /* یا فونت دیجیتال خودت */
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
}
.time-unit label {
    font-size: 0.65rem;
    color: #fff;
    display: block;
    margin-top: 2px;
}

/* ۲. اصلاح فاصله حباب‌ها و خوانایی متن */
.service-bubble {
    position: absolute;
    width: 75px;
    height: 75px;
    background: rgba(0, 15, 25, 0.8);
    border: 2px solid rgba(0, 242, 254, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    /* انیمیشن معلق بودن */
    animation: floating-service 4s ease-in-out infinite;
}

.service-label {
    position: absolute;
    bottom: -35px;
    background: rgba(0, 0, 0, 0.7); /* پس‌زمینه تیره برای خوانایی */
    color: #00f2fe;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    border: 1px solid rgba(0, 242, 254, 0.2);
    white-space: nowrap;
    text-shadow: 0 0 5px #000;
}

/* ۳. انیمیشن معلق‌سازی (حرکت نرم سینوسی) */
@keyframes floating-service {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-10px) translateX(5px); }
    66% { transform: translateY(5px) translateX(-5px); }
}

/* ۴. فاصله‌های جدید (نزدیک‌تر به باکس) */
.service-bubble:nth-child(1) { top: 15%; left: 25%; animation-delay: 0s; }
.service-bubble:nth-child(2) { top: 15%; right: 25%; animation-delay: 1s; }
.service-bubble:nth-child(3) { top: 50%; left: 18%; transform: translateY(-50%); animation-delay: 2s; }
.service-bubble:nth-child(4) { bottom: 18%; left: 25%; animation-delay: 1.5s; }
.service-bubble:nth-child(5) { bottom: 18%; right: 25%; animation-delay: 0.5s; }


@media screen and (max-width: 768px) {
/* ۱. تنظیم ظرف اصلی */
.wrapper {
display: block !important;
position: relative !important;
width: 100vw !important;
height: 100vh !important;
overflow: hidden !important;
}
‌
/* ۲. باکس اصلی: انتقال به بالاتر */
.glass-card {
position: absolute !important;
top: 40% !important; /* باکس بالاتر رفت */
left: 50% !important;
transform: translate(-50%, -50%) !important;
width: 80% !important;
max-width: 320px !important;
z-index: 10 !important;
}
‌
/* ۳. تقسیم آیتم‌ها به چپ و راست باکس (به صورت عمودی) */
.services-container {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
z-index: 5 !important; /* زیر لایه دکمه باشد تا مانع کلیک نشود */
}
‌
/* آیتم ۱ و ۲ سمت چپ */
.service-bubble:nth-child(1) { top: 25% !important; left: 5% !important; transform: scale(0.65) !important; }
.service-bubble:nth-child(2) { top: 45% !important; left: 5% !important; transform: scale(0.65) !important; }
‌
/* آیتم ۳ وسط (بالای باکس) */
.service-bubble:nth-child(3) { top: 15% !important; left: 50% !important; transform: translateX(-50%) scale(0.65) !important; }
‌
/* آیتم ۴ و ۵ سمت راست */
.service-bubble:nth-child(4) { top: 25% !important; right: 5% !important; left: auto !important; transform: scale(0.65) !important; }
.service-bubble:nth-child(5) { top: 45% !important; right: 5% !important; left: auto !important; transform: scale(0.65) !important; }
‌
/* ۴. دکمه ثبت سفارش: انتقال به زیر باکس و حل مشکل کلیک */
.order-action-area {
position: absolute !important;
top: 70% !important; /* پایین باکس */
left: 50% !important;
transform: translateX(-50%) !important;
width: 90% !important;
z-index: 999 !important; /* بالاترین لایه برای حل مشکل کلیک نشدن */
pointer-events: auto !important; /* اطمینان از قابلیت کلیک */
}
‌
/* ۵. ربات: همان گوشه پایین راست */
.robot-container {
position: absolute !important;
right: -10px !important;
bottom: 5% !important;
width: 130px !important;
z-index: 1 !important;
pointer-events: none; /* ربات مانع کلیک نشود */
}
}