/* login.css - استایل‌های صفحه ورود */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
    margin: 0; min-height: 100vh; font-family: 'Vazirmatn', sans-serif;
    background:
        linear-gradient(135deg, rgba(13,71,161,0.97), rgba(21,101,192,0.9) 45%, rgba(227,242,253,0.97)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 42px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 42px);
    display: flex; flex-direction: column; overflow-x: hidden;
}
.content-wrapper { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; padding: 110px 20px 50px 20px; }
.main-container { text-align: center; width: 100%; max-width: 800px; position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; }

/* تگ‌لاین بالای صفحه: معرفی کوتاه فروشگاه، قبل از ماشین/لوگو */
.hero-tagline { text-align: center; margin: 0 auto 10px; max-width: 600px; opacity: 0; animation: taglineIn 0.7s ease-out 0.15s forwards; }
.hero-tagline h1 { color: #fff; font-size: 1.35rem; font-weight: 900; margin: 0 0 4px; text-shadow: 0 3px 12px rgba(0,0,0,0.35); }
.hero-tagline p { color: rgba(255,255,255,0.88); font-size: 0.9rem; font-weight: bold; margin: 0; }
@keyframes taglineIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
    .hero-tagline h1 { font-size: 1.05rem; }
    .hero-tagline p { font-size: 0.78rem; }
}
.logo-wrapper { position: relative; margin-bottom: 5px; margin-top: 10px; z-index: 5; animation: logoFloat 4.5s ease-in-out infinite 3s; }
.main-logo { width: 60%; max-width: 450px; height: auto; filter: drop-shadow(0 15px 15px rgba(0,0,0,0.3)); animation: rocketEntry 3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, logoGlow 3.2s ease-in-out infinite 3s; display: block; margin: 0 auto; }
@keyframes rocketEntry { 0% { transform: translateY(-500px) scale(0.5); opacity: 0; } 60% { transform: translateY(30px) scale(1.1); opacity: 1; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 15px 15px rgba(0,0,0,0.3)) drop-shadow(0 0 8px rgba(41,182,246,0.35)); }
    50% { filter: drop-shadow(0 15px 20px rgba(0,0,0,0.35)) drop-shadow(0 0 28px rgba(41,182,246,0.85)) drop-shadow(0 0 45px rgba(0,229,255,0.5)); }
}
/* افکت نور سُر (شاین) که فقط روی شکل خود لوگو (بدون پس‌زمینه شفاف) دیده می‌شود */
.logo-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.95) 48%, rgba(120,220,255,.95) 52%, transparent 70%);
    background-size: 260% 260%;
    background-position: -120% -120%;
    -webkit-mask-image: url('logo.png');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('logo.png');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mix-blend-mode: overlay;
    pointer-events: none;
    opacity: 0;
    animation: logoShine 5s ease-in-out infinite 3.2s;
}
@keyframes logoShine {
    0%, 15% { background-position: -120% -120%; opacity: 0; }
    22% { opacity: 1; }
    45% { background-position: 120% 120%; opacity: 1; }
    55%, 100% { background-position: 120% 120%; opacity: 0; }
}

/* ===== حالت لوگوی ماشین (قابل برگشت): چرخش ورودی ماشین + چراغ‌های چشمک‌زن + سایه‌ی نشستن + لوگوی برند زیر دکمه‌ها ===== */
.logo-wrapper.car-mode::after { display: none; } /* افکت شاین مخصوص لوگوی قبلی روی عکس ماشین اجرا نشه */
/* لوگوی برند: گوشه بالا مرکز، بالای تیتر، همیشه دیده می‌شود (نه گم توی پایین صفحه) */
.brand-mark {
    display: block;
    width: 42%;
    max-width: 200px;
    height: auto;
    margin: -100px auto 10px;
    opacity: 0;
    filter: drop-shadow(0 8px 20px rgba(0, 242, 254, 0.4));
    animation: brandFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards, brandFloat 4s ease-in-out infinite 0.8s;
    position: relative;
    z-index: 15;
}
@keyframes brandFadeIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.8); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes brandFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.car-stage { position: relative; --spot-rgb: 66,165,245; }
/* نورافکن رنگی زیر ماشین (سبک صفحه‌ی معرفی محصول Tesla): یک هاله‌ی نور بزرگ و محو پشت ماشین.
   رنگش با متغیر --spot-rgb مشخص می‌شود که پایین‌تر بسته به کارتی که هاور شده تغییر می‌کند. */
.car-spotlight {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 100%;
    height: 90%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(var(--spot-rgb), 0.5) 0%, rgba(var(--spot-rgb), 0.2) 40%, rgba(var(--spot-rgb), 0) 72%);
    filter: blur(2px);
    z-index: -2;
    opacity: 0;
    animation: spotlightIn 1s ease-out 0.35s forwards;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.35s ease;
}
@keyframes spotlightIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.7); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
/* سکوی شیشه‌ای (Glassmorphism) زیر ماشین برای ایجاد نقطه کانونی و عمق */
.car-stage::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 78%;
    height: 60%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.12) 55%, rgba(255,255,255,0) 78%);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: -1;
    opacity: 0;
    animation: platformIn 0.8s ease-out 0.5s forwards;
}
@keyframes platformIn { from { opacity: 0; transform: translateX(-50%) scale(0.85); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
/* وقتی موس روی یکی از کارت‌های پایین می‌رود: ماشین کمی می‌چرخد و نور زیرش زیاد می‌شود (در مرورگرهایی که :has را پشتیبانی می‌کنند) */
.main-container:has(.action-btn:hover) .car-stage .main-logo { transform: rotate(1.5deg) scale(1.015); }
.main-container:has(.action-btn:hover) .car-spotlight { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
.car-stage .main-logo { transition: transform 0.35s ease; }

/* رنگ نور زیر ماشین بسته به کارتی که هاور شده عوض می‌شود؛ حس تعامل بین ماشین و کارت‌ها را زنده می‌کند */
.main-container:has(.btn-inquiry:hover) .car-stage { --spot-rgb: 66,165,245; }   /* 🔍 استعلام قطعه → آبی */
.main-container:has(.btn-special:hover) .car-stage { --spot-rgb: 255,193,7; }   /* 🎁 سبد ویژه → طلایی */
.main-container:has(.btn-price:hover)   .car-stage { --spot-rgb: 76,175,80; }   /* 📈 تغییر قیمت → سبز */
.main-container:has(.btn-new:hover)     .car-stage { --spot-rgb: 156,39,176; }  /* 📦 اقلام جدید → بنفش */
.car-stage .main-logo {
    width: 82%;
    max-width: 620px;
    animation: carDropEntry 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
    filter: drop-shadow(0 22px 22px rgba(0,0,0,0.38));
}
/* ورود آرام‌تر: ماشین به‌جای چرخش تند، ملایم از بالا پایین می‌آید و آرام می‌نشیند */
@keyframes carDropEntry {
    0%   { transform: translateY(-140%) scale(0.85) rotate(-4deg); opacity: 0; }
    65%  { transform: translateY(10px) scale(1.03) rotate(1deg); opacity: 1; }
    85%  { transform: translateY(-4px) scale(0.99) rotate(-0.5deg); }
    100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
}
.headlight {
    position: absolute;
    width: 8%;
    padding-top: 8%; /* دایره‌ی کامل، نسبت به عرض لوگو */
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,244,190,0.95) 0%, rgba(255,214,90,0.55) 45%, rgba(255,214,90,0) 75%);
    opacity: 0;
    animation: headlightBlink 1.3s ease-in-out 1.3s 1 both;
}
.hl-left  { left: 14.8%; top: 57.5%; transform: translate(-50%, -50%); }
.hl-right { left: 57.5%; top: 56.5%; transform: translate(-50%, -50%); }
@keyframes headlightBlink {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    25%  { opacity: 1; }
    35%  { opacity: 0; }
    50%  { opacity: 0; }
    60%  { opacity: 1; }
    75%  { opacity: 1; }
    85%  { opacity: 0; }
    100% { opacity: 0; }
}
.car-shadow {
    position: absolute;
    left: 50%;
    bottom: 2%;
    width: 65%;
    height: 14px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 72%);
    transform: translateX(-50%) scaleX(0.3);
    opacity: 0;
    pointer-events: none;
    animation: carShadowIn 0.5s ease-out 1.05s forwards;
}
@keyframes carShadowIn {
    to { opacity: 1; transform: translateX(-50%) scaleX(1); }
}
.top-pill-btn { z-index: 1000; width: 150px; padding: 10px 15px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; gap: 8px; color: #000; font-family: 'Vazirmatn'; font-weight: 900; font-size: 0.95rem; cursor: pointer; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.3s; animation: pulseBtn 3s infinite; box-sizing: border-box; }
.top-pill-btn:hover { transform: scale(1.05); border-color: white; }
.btn-left { position: fixed; top: 30px; left: 30px; background: radial-gradient(circle at 30% 30%, #ffca28, #ff6f00); color: black; }
.btn-right { background: radial-gradient(circle at 30% 30%, #42a5f5, #1565c0); color: white; }
/* دکمه تماس با ما: بزرگ‌تر و با آیکون واضح‌تر که دیگه گم نشه */
.contact-pill { padding: 12px 15px; font-size: 1rem; }
.contact-pill i { font-size: 1.15rem; }
@keyframes pulseBtn { 0% { transform: scale(1); } 50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); } 100% { transform: scale(1); } }
/* استک عمودی گوشه‌ی بالا-راست: دکمه تماس با ما + قیمت دلار، دقیقاً زیر هم و هم‌عرض */
.top-right-stack { position: fixed; top: 30px; right: 30px; z-index: 1000; display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 150px; }
.top-right-stack .top-pill-btn { width: 100%; }
.currency-badge { background: rgba(255, 255, 255, 0.95); padding: 8px 15px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); font-weight: bold; font-size: 0.9rem; color: #333; display: flex; align-items: center; justify-content: center; gap: 8px; backdrop-filter: blur(5px); border: 2px solid #fff; animation: fadeIn 1s ease-out; box-sizing: border-box; }
.currency-badge span { color: #2e7d32; font-weight: 900; font-size: 1.1rem; font-family: 'Vazirmatn', sans-serif; }
@keyframes fadeIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
.buttons-center-row { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); justify-content: center; gap: 18px; margin-top: 22px; position: relative; z-index: 20; width: 100%; max-width: 720px; }

/* کارت‌های شیشه‌ای (Glassmorphism) نسخه‌ی لوکس + زنده: هر کارت یک هاله‌ی رنگی مخصوص خودش،
   نوار نور بالا، و یک حرکت شناور خیلی آروم دارد تا صفحه بی‌روح به نظر نرسد */
/* ==========================================
   BACKUP: PREVIOUS BUTTON STYLES (UNCOMMENT TO REVERT)
   ==========================================
.action-btn {
    --accent: #42a5f5;
    width: auto; height: auto; min-height: 132px; border-radius: 24px;
    position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.16);
    background: linear-gradient(160deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    color: white; font-family: 'Vazirmatn'; font-weight: 700; font-size: 0.88rem; line-height: 1.5;
    cursor: pointer; text-decoration: none; padding: 20px 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    animation: btnPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both, cardFloat 6s ease-in-out infinite 1.4s;
    transform-style: preserve-3d;
}
.action-btn::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.85;
}
.action-btn::after {
    content: '';
    position: absolute; top: 14px; left: 50%; width: 70px; height: 70px;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.35; filter: blur(6px); pointer-events: none;
    transition: opacity 0.3s ease;
}
.action-btn:hover::after { opacity: 0.6; }
.action-btn:hover {
    animation: none;
    border-color: rgba(255,255,255,0.4);
    background: linear-gradient(160deg, rgba(255,255,255,0.17), rgba(255,255,255,0.06));
    box-shadow: 0 22px 44px rgba(0,0,0,0.3), 0 0 0 1px rgba(66,165,245,0.5), 0 0 34px rgba(66,165,245,0.5);
}
.action-btn i {
    position: relative; font-size: 1.75rem; margin-bottom: 12px; color: #fff;
    text-shadow: 0 0 16px var(--accent);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.action-btn:hover i { transform: scale(1.12); text-shadow: 0 0 26px var(--accent); }
.btn-new     { --accent: #42a5f5; animation-delay: 0.05s, 1.4s; }
.btn-price   { --accent: #29b6f6; animation-delay: 0.2s, 1.7s; }
.btn-special { --accent: #26a69a; animation-delay: 0.35s, 2s; }
.btn-inquiry { --accent: #66bb6a; animation-delay: 0.5s, 2.3s; }
========================================== */

/* ===== NEW CYBER-HOLOGRAPHIC BUTTONS ===== */
.action-btn {
    --accent: #00f2fe;
    --accent-rgb: 0, 242, 254;
    width: auto; height: auto; min-height: 136px; border-radius: 20px;
    position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(145deg, rgba(6, 11, 25, 0.45), rgba(255, 255, 255, 0.02));
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    color: white; font-family: 'Vazirmatn'; font-weight: 700; font-size: 0.88rem; line-height: 1.5;
    cursor: pointer; text-decoration: none; padding: 22px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: btnPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both, cardFloat 6s ease-in-out infinite 1.4s;
    transform-style: preserve-3d;
}
/* اسکنر لیزری افقی */
.action-btn::before {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(var(--accent-rgb), 0.18), var(--accent), rgba(var(--accent-rgb), 0.18), transparent);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.action-btn:hover::before {
    opacity: 1;
    animation: scanLine 2s linear infinite;
}
/* هاله نئونی پشتی */
.action-btn::after {
    content: '';
    position: absolute; top: 10px; left: 50%; width: 75px; height: 75px;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.25; filter: blur(8px); pointer-events: none;
    transition: opacity 0.3s ease, transform 0.4s ease;
    z-index: 0;
}
.action-btn:hover::after { 
    opacity: 0.55; 
    transform: translateX(-50%) scale(1.2); 
}
.action-btn:hover {
    animation: none;
    border-color: var(--accent);
    background: linear-gradient(145deg, rgba(6, 11, 25, 0.65), rgba(255, 255, 255, 0.04));
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.45), 
        0 0 20px rgba(var(--accent-rgb), 0.4), 
        inset 0 0 12px rgba(var(--accent-rgb), 0.15);
}
/* افکت سه بعدی قطعات داخلی کارت */
.action-btn i {
    position: relative; font-size: 1.85rem; margin-bottom: 12px; color: #fff;
    text-shadow: 0 0 15px var(--accent);
    transform: translateZ(28px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), text-shadow 0.3s ease;
    z-index: 2;
}
.action-btn:hover i { 
    transform: translateZ(42px) scale(1.1); 
    text-shadow: 0 0 25px var(--accent), 0 0 35px var(--accent); 
}
.action-btn span { 
    position: relative; 
    font-weight: 800; 
    transform: translateZ(15px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}
.action-btn:hover span {
    transform: translateZ(25px);
}
.action-btn .card-sub { display: block; font-size: 0.68rem; font-weight: 500; opacity: 0.75; margin-top: 5px; }

/* تم‌های رنگی فوتوریستیک اختصاصی دکمه‌ها */
.btn-new     { --accent: #d946ef; --accent-rgb: 217, 70, 239; animation-delay: 0.05s, 1.4s; }
.btn-price   { --accent: #10b981; --accent-rgb: 16, 185, 129; animation-delay: 0.2s, 1.7s; }
.btn-special { --accent: #ff007f; --accent-rgb: 255, 0, 127; animation-delay: 0.35s, 2s; }
.btn-inquiry { --accent: #00f2fe; --accent-rgb: 0, 242, 254; animation-delay: 0.5s, 2.3s; }

@keyframes scanLine {
    0% { top: -100%; }
    100% { top: 100%; }
}
@keyframes btnPopIn {
    0% { transform: translateY(35px) scale(0.85); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ردیف آمار اعتمادساز، زیر کارت‌ها */
.stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; width: 100%; max-width: 720px; position: relative; z-index: 15; }
.stat-box {
    flex: 1 1 140px; min-width: 130px; text-align: center; padding: 12px 10px; border-radius: 16px;
    background: rgba(255,255,255,0.07);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff; opacity: 0; animation: statIn 0.5s ease-out both;
}
.stat-box i { display: block; font-size: 1.1rem; margin-bottom: 6px; color: #90caf9; }
.stat-box span { display: block; font-size: 0.78rem; font-weight: 800; }
.stats-row .stat-box:nth-child(1) { animation-delay: 0.65s; }
.stats-row .stat-box:nth-child(2) { animation-delay: 0.75s; }
.stats-row .stat-box:nth-child(3) { animation-delay: 0.85s; }
.stats-row .stat-box:nth-child(4) { animation-delay: 0.95s; }
@keyframes statIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
#trail-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}
.login-container {
    display: none;
    background: rgba(8, 14, 28, 0.78);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 242, 254, 0.25);
    padding: 35px 30px;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 2000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: popIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), containerGlow 5s ease-in-out infinite;
    color: #fff;
}
@keyframes containerGlow {
    0%, 100% {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.15);
        border-color: rgba(0, 242, 254, 0.25);
    }
    50% {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 25px rgba(217, 70, 239, 0.25);
        border-color: rgba(217, 70, 239, 0.4);
    }
}
@keyframes popIn { from { opacity:0; transform: translate(-50%, -50%) scale(0.9); } to { opacity:1; transform: translate(-50%, -50%) scale(1); } }
.login-logo-small { width: 90px; height: auto; margin-bottom: 10px; filter: drop-shadow(0 4px 12px rgba(0, 242, 254, 0.3)); }

/* استایل اسکنر بیومتریک هویت */
.identity-scanner-wrapper {
    margin: 15px auto 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.identity-scanner {
    position: relative;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(0, 242, 254, 0.25);
    background: rgba(0, 242, 254, 0.04);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1);
}
.scanner-icon {
    font-size: 1.85rem;
    color: rgba(0, 242, 254, 0.5);
    animation: scannerPulse 2s ease-in-out infinite;
}
.scanner-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
    animation: scanBar 2s ease-in-out infinite;
}
.scanner-status {
    font-size: 0.65rem;
    font-family: monospace, sans-serif;
    color: #00f2fe;
    margin-top: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.5);
    animation: blinkText 1.5s infinite;
}
@keyframes scannerPulse {
    0%, 100% { transform: scale(1); color: rgba(0, 242, 254, 0.5); }
    50% { transform: scale(1.08); color: #00f2fe; text-shadow: 0 0 8px rgba(0, 242, 254, 0.6); }
}
@keyframes scanBar {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}
@keyframes blinkText {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.login-container h3 { color: #fff; margin-bottom: 25px; font-weight: 800; font-size: 1.4rem; text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1); }
.input-group {
    position: relative;
    margin-bottom: 16px;
    text-align: right;
}
.input-group i {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05rem;
    transition: color 0.3s ease;
    pointer-events: none;
    z-index: 10;
}
.input-group input, .input-group select {
    width: 100%;
    padding: 14px 46px 14px 16px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-family: 'Vazirmatn';
    box-sizing: border-box;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 500;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    direction: rtl;
}
.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.input-group input:focus, .input-group select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #42a5f5;
    box-shadow: 0 0 15px rgba(66, 165, 245, 0.25);
}
.input-group input:focus + i, .input-group select:focus + i {
    color: #42a5f5;
}
.input-group select option {
    background: #0a192f;
    color: #fff;
}
.login-container .error {
    background: rgba(239, 83, 80, 0.15);
    border: 1px solid rgba(239, 83, 80, 0.35);
    color: #ff8a80;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: right;
    animation: shake 0.5s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
button.main-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.05rem;
    margin-top: 10px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.35);
    transition: all 0.3s ease;
}
button.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(21, 101, 192, 0.5);
    background: linear-gradient(135deg, #2196f3, #1e88e5);
}
button.main-btn:active {
    transform: translateY(1px);
}
.back-btn {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-top: 20px;
    cursor: pointer;
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    transition: all 0.3s ease;
}
.back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
footer { width: 100%; background: linear-gradient(180deg, #0d47a1, #0a1930); color: white; padding: 30px 20px; text-align: center; position: relative; z-index: 5; margin-top: auto; }
.footer-logo h3 { margin: 0; font-size: 1.5rem; font-weight: 900; } 
.copyright { margin-top: 15px; color: #7986cb; font-size: 0.8rem; }
.contact-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.contact-content { background: white; width: 90%; max-width: 500px; border-radius: 20px; font-family: 'Vazirmatn'; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }
.contact-header { background: #0d47a1; color: white; padding: 15px; text-align: center; font-weight: bold; font-size: 1.2rem; flex-shrink: 0; }
.contact-close { position: absolute; top: 12px; left: 15px; color: white; font-size: 1.5rem; cursor: pointer; }
.contact-body { padding: 20px; text-align: center; flex-grow: 1; overflow-y: auto; }
.contact-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 10px; border-bottom: 1px dashed #eee; transition:0.3s; }
.contact-person { display: flex; align-items: center; gap: 10px; text-align: right; }
.person-icon { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.icon-manager { background: #ffebee; color: #d32f2f; } .icon-ceo { background: #fff8e1; color: #ff8f00; } .icon-sales { background: #e3f2fd; color: #1565c0; } .icon-warehouse { background: #f3e5f5; color: #7b1fa2; }
.person-info { display: flex; flex-direction: column; } .person-role { font-size: 0.8rem; color: #666; } .person-name { font-size: 0.95rem; font-weight: bold; color: #333; }
.call-btn { background: #28a745; color: white; text-decoration: none; padding: 8px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: bold; display: flex; align-items: center; gap: 5px; transition: 0.3s; box-shadow: 0 3px 8px rgba(40, 167, 69, 0.3); }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border-radius: 10px; color: white; text-decoration: none; margin-bottom: 10px; font-weight: bold; transition: 0.3s; }
.social-telegram { background: #229ED9; } .social-whatsapp { background: #25D366; }
.address-box { background: #fff3e0; padding: 15px; border-radius: 10px; margin-top: 20px; color: #333; font-size: 0.9rem; line-height: 1.8; border: 1px solid #ffe0b2; text-align: right; }
/* افکت «ترکیدن» موقع کلیک روی دکمه‌های دایره‌ای دسترسی سریع، قبل از رفتن به صفحه مقصد */
.page-burst { position: fixed; width: 20px; height: 20px; border-radius: 50%; transform: translate(-50%, -50%) scale(0); pointer-events: none; z-index: 99999; opacity: 0.95; transition: transform 0.42s cubic-bezier(.4,0,.2,1), opacity 0.42s ease-in; }
.page-burst.expand { transform: translate(-50%, -50%) scale(var(--target-scale, 60)); opacity: 1; }
.action-btn.bursting { transition: transform 0.2s ease, opacity 0.3s ease 0.15s; transform: scale(1.15); opacity: 0; }
@media (max-width: 600px) {
    body { height: 100vh; overflow: hidden; }
    .top-pill-btn { width: 110px; padding: 8px; font-size: 0.8rem; }
    .top-right-stack { top: 20px; right: 15px; width: 110px; gap: 8px; }
    .currency-badge { font-size: 0.8rem; padding: 6px 12px; }
    .btn-left { top: 20px; left: 15px; }
    .content-wrapper { padding: 65px 15px 25px; }
    .hero-tagline { margin: 5px auto 10px; }
    .hero-tagline h1 { font-size: 1.05rem; }
    .hero-tagline p { display: none; }
    .brand-mark { width: 35%; max-width: 95px; margin: -25px auto 5px; }
    .main-logo { width: 50%; max-width: 180px; }
    .car-stage { margin-bottom: 8px; }
    .car-stage .main-logo { width: 55%; max-width: 190px; }
    .car-spotlight { display: none; }
    .buttons-center-row { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
    .action-btn { min-height: 90px; padding: 12px 6px; font-size: 0.78rem; border-radius: 14px; }
    .action-btn i { font-size: 1.35rem; margin-bottom: 5px; }
    .action-btn .card-sub { display: none; }
    .stats-row { display: none; }
    footer { display: none; }
    .contact-pill { padding: 8px 10px; font-size: 0.8rem; }
    .contact-pill i { font-size: 0.95rem; }
    .login-container {
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
        overflow-y: auto;
        padding: 85px 20px 40px;
        background: rgba(8, 14, 28, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: none;
        border-bottom: 2px solid rgba(0, 242, 254, 0.35);
        animation: slideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
}