* { margin: 0; padding: 0; box-sizing: border-box; }

        :root[data-theme="light"] {
            --bg-primary: #ffffff;
            --bg-secondary: #f4f7fb;
            --bg-card: #ffffff;
            --text-primary: #1a1a2e;
            --text-secondary: #5c677d;
            --accent: #0d6efd;
            --accent-hover: #0a58ca;
            --accent-soft: #e7f1ff;
            --border: #e2e8f0;
            --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
            --shadow-md: 0 6px 20px rgba(15, 23, 42, .10);
            --shadow-lg: 0 12px 32px rgba(15, 23, 42, .15);
			--text: var(--text-primary);
			--text-muted: var(--text-secondary);
			--surface: var(--bg-card);
			--glass: rgba(255,255,255,.72);
			--mesh-1: #dbeafe;
			--mesh-2: #eff6ff;
        }

        :root[data-theme="dark"] {
            --bg-primary: #0f172a;
            --bg-secondary: #1e293b;
            --bg-card: #16213e;
            --text-primary: #f1f5f9;
            --text-secondary: #94a3b8;
            --accent: #3b82f6;
            --accent-hover: #60a5fa;
            --accent-soft: #1e3a5f;
            --border: #334155;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
            --shadow-md: 0 6px 20px rgba(0, 0, 0, .4);
            --shadow-lg: 0 12px 32px rgba(0, 0, 0, .5);
			--text: var(--text-primary);
			--text-muted: var(--text-secondary);
			--surface: var(--bg-card);
			--glass: rgba(22,33,62,.72);
			--mesh-1: #1e3a5f;
			--mesh-2: #0b1329;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.7;
            transition: background .3s, color .3s;
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; display: block; }
        button { font-family: inherit; cursor: pointer; }

        /* ===== Header ===== */
        .header {
            position: sticky; top: 0; z-index: 100;
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
        }

        .nav-inner {
            display: flex; justify-content: space-between; align-items: center;
            padding: 14px 0; gap: 16px;
        }

        .logo { font-size: 1.4rem; font-weight: 800; color: var(--accent); display: flex; align-items: center; gap: 8px; }
        .logo-icon { font-size: 1.6rem; }

        .nav-links { display: flex; gap: 1.8rem; list-style: none; }

        .nav-links a {
            font-weight: 500; font-size: .95rem;
            color: var(--text-secondary);
            transition: color .3s;
            position: relative;
        }

        .nav-links a:hover, .nav-links a.active { color: var(--accent); }
        .nav-links a::after {
            content: ''; position: absolute; bottom: -6px; right: 0;
            width: 0; height: 2px; background: var(--accent);
            transition: width .3s;
        }
        .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

        .nav-actions { display: flex; align-items: center; gap: 10px; }

        .theme-toggle, .hamburger {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            color: var(--text-primary);
            width: 42px; height: 42px;
            border-radius: 10px;
            font-size: 1.15rem;
            display: flex; align-items: center; justify-content: center;
            transition: all .3s;
			
        }

		/* override فقط داخل کارت لاگین */
 
		.login-card .theme-toggle {
			position: absolute;
			top: 14px;
			left: 14px;
			right: auto;
			z-index: 2;
			width: 36px;
			height: 36px;
			font-size: 1rem;
		}
        .theme-toggle:hover, .hamburger:hover { border-color: var(--accent); color: var(--accent); }

        .hamburger { display: none; }


        /* ===== Hero ===== */
		/* بنر متنی جمع‌وجور و نزدیک به ویدیو */
	.hero-promo-banner {
		text-align: center;
		max-width: 700px;
		margin: 0 auto 1rem auto; /* کاهش فاصله تا ویدیو */
		padding: 0.2rem 1rem 0.5rem 1rem; /* حذف پدینگ اضافی بالا */
		position: relative;
	}

	/* بج کوچک‌تر و ظریف‌تر */
	.promo-badge-pulse {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		background: var(--accent-soft);
		color: var(--accent);
		padding: 3px 12px;
		border-radius: 50px;
		font-size: 0.78rem;
		font-weight: 600;
		margin-bottom: 0.6rem;
		border: 1px solid rgba(14, 165, 233, 0.2);
	}

	.pulse-dot {
		width: 6px;
		height: 6px;
		background-color: var(--accent);
		border-radius: 50%;
		animation: pulseGlow 1.8s infinite;
	}

	/* تیتر با فونت کوچک‌تر و فاصله خطوط بهینه‌تر */
	.hero-promo-title {
		font-size: clamp(1.35rem, 2.5vw, 1.8rem); /* سایز ملایم‌تر و متناسب */
		font-weight: 800;
		line-height: 1.35;
		color: var(--text);
		margin: 0 0 0.6rem 0;
		letter-spacing: -0.3px;
	}

	.highlight-gradient {
		background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		display: inline-block;
	}

	/* متن توضیحات جمع‌وجور */
	.hero-promo-desc {
		font-size: 0.95rem;
		line-height: 1.65;
		color: var(--text-muted);
		font-weight: 400;
		margin: 0;
	}

	.hero-promo-desc strong {
		color: var(--text);
		font-weight: 600;
	}

	/* هایلایت وام جمع‌وجور */
	.loan-highlight {
		display: inline-block;
		color: #10b981;
		font-weight: 700;
		font-size: 0.9rem;
		background: rgba(16, 185, 129, 0.08);
		padding: 1px 8px;
		border-radius: 5px;
		border: 1px dashed rgba(16, 185, 129, 0.4);
		margin-top: 2px;
	}


		
		/* تنظیم چیدمان به صورت تک‌ستونه عمودی تا ویدئو در بالا و تمام‌عرض قرار گیرد */
		.hero-grid {
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 2.5rem;
		}

	
.hero-image {
    width: 100%;
    max-width: 960px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    line-height: 0;
    font-size: 0;
    background: transparent;
}

.hero-image .hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 18px;
}


		/* بزرگ‌ترین سایز ممکن با حفظ تقارن و قرارگیری در مرکز */
		.hero-video-wrapper {
			position: relative;
			width: 100%;
			max-width: 960px; /* حداکثر عرض در مانیتورهای بزرگ (قابل تغییر به 1000px یا 100%) */
			margin: 0 auto;
			border-radius: 20px;
			overflow: hidden;
			box-shadow: var(--shadow-lg);
		}

		/* حفظ نسبت تصویر افقی 16:9 استاندارد یا فیت شدن بر اساس ابعاد اصلی فایل ویدئو */
		.hero-video {
			width: 100%;
			height: auto;
			display: block;
			aspect-ratio: 16 / 9; /* نسبت تصویر افقی استاندارد و حفظ تناسب */
			object-fit: cover;
		}

		/* سنتر کردن محتوای متنی پایین ویدئو (اختیاری) */
		.hero-content {
			text-align: center;
			max-width: 800px;
			margin: 0 auto;
		}

		.hero-buttons {
			justify-content: center;
		}

		
		
        .hero {
            background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-primary) 100%);
            padding: 4.5rem 0;
        }

    

        .hero-badge {
            display: inline-block; background: var(--accent);
            color: #fff; font-size: .82rem; font-weight: 600;
            padding: 6px 14px; border-radius: 50px; margin-bottom: 1.2rem;
        }

 

/* دکمه شناور بلندگو */
.video-sound-btn {
    position: absolute;
    bottom: 14px;
    left: 14px; /* گوشه پایین سمت چپ */
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.25s ease;
    z-index: 5;
}

.video-sound-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.08);
}



        .hero-content h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.4; margin-bottom: 1rem; }
        .hero-content h1 span { color: var(--accent); }
        .hero-content p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 480px; }

        .hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

        .btn {
            display: inline-block; padding: 13px 30px;
            border-radius: 10px; font-weight: 600; font-size: .95rem;
            transition: all .3s; border: none;
        }

        .btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
        .btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

        .btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
        .btn-outline:hover { background: var(--accent); color: #fff; }
		.btn-outline-modern {
				width: 100%; padding: .85rem; margin-top: .8rem;
			background: transparent; color: var(--text-secondary);
			border: 2px solid var(--border); border-radius: 10px;
			font-family: inherit; font-size: .92rem; font-weight: 600;
			cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .5rem;
			transition: all .3s; text-decoration: none;
		}
		.btn-outline-modern:hover { border-color: var(--accent); color: var(--accent);  }




        .hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; }
        .hero-stats .stat-num { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
        .hero-stats .stat-label { font-size: .85rem; color: var(--text-secondary); }

        .hero-image { position: relative; }
   
   
   
   
		/* کادر اقساطی با موشن و استایل اختصاصی */
		.loan-highlight {
			position: relative;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			color: #047857;
			font-weight: 800;
			font-size: 0.95rem;
			background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.05));
			padding: 6px 16px;
			border-radius: 10px;
			border: 1.5px solid rgba(16, 185, 129, 0.5);
			margin-top: 6px;
			overflow: hidden; /* برای این‌که موج نور از کادر بیرون نزند */
			cursor: default;
			
			/* موشن ۱: تپش و تغییر ملایم ابعاد و سایه */
			animation: loanCardPulse 2.8s ease-in-out infinite;
		}

		/* موشن ۲: عبور رگه نور براق از روی کادر (Shimmer) */
		.loan-highlight::after {
			content: '';
			position: absolute;
			top: 0;
			left: -130%;
			width: 60%;
			height: 100%;
			background: linear-gradient(
				90deg,
				transparent,
				rgba(255, 255, 255, 0.8),
				transparent
			);
			transform: skewX(-25deg);
			animation: shimmerSlide 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
		}

		/* کی‌فریم تپش کادر */
		@keyframes loanCardPulse {
			0%, 100% {
				transform: scale(1);
				box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35);
				border-color: rgba(16, 185, 129, 0.45);
			}
			50% {
				transform: scale(1.025);
				box-shadow: 0 6px 18px 2px rgba(16, 185, 129, 0.3);
				border-color: rgba(16, 185, 129, 0.85);
			}
		}

		/* کی‌فریم عبور نور */
		@keyframes shimmerSlide {
			0%, 20% {
				left: -130%;
			}
			60%, 100% {
				left: 170%;
			}
		}

		/* هماهنگی موشن و رنگ در حالت تم تیره (Dark Mode) */
		[data-theme="dark"] .loan-highlight {
			color: #34d399;
			background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(5, 150, 105, 0.08));
			border-color: rgba(52, 211, 153, 0.6);
		}
		[data-theme="dark"] .loan-highlight::after {
			background: linear-gradient(
				90deg,
				transparent,
				rgba(255, 255, 255, 0.35),
				transparent
			);
		}


   
   

        /* ===== Section titles ===== */
        .section { padding: 1.5rem 0; }
        .section-secondary { background: var(--bg-secondary); }
        .section-title { text-align: center; font-size: 1.9rem; font-weight: 800; margin-bottom: .5rem; }
        .section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 3rem; }

        /* ===== Features ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.8rem;
        }

        .feature-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px; padding: 2rem 1.5rem;
            text-align: center; box-shadow: var(--shadow-sm);
            transition: all .3s;
        }

        .feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent); }

        .feature-icon {
            width: 68px; height: 68px; margin: 0 auto 1.2rem;
            background: var(--accent-soft); color: var(--accent);
            border-radius: 16px; font-size: 1.8rem;
            display: flex; align-items: center; justify-content: center;
        }

        .feature-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
        .feature-card p { font-size: .9rem; color: var(--text-secondary); }

        /* ===== Products ===== */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.8rem;
        }

        .product-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px; overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all .3s;
        }

        .product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

        .product-image {
            height: 200px; display: flex; align-items: center; justify-content: center;
            font-size: 4rem; background: linear-gradient(135deg, var(--accent-soft), var(--bg-secondary));
        }

        .product-info { padding: 1.5rem; }

        .product-info h3 { font-size: 1.15rem; margin-bottom: .5rem; }
        .product-info p { font-size: .88rem; color: var(--text-secondary); margin-bottom: 1rem; }

        .product-footer { display: flex; justify-content: space-between; align-items: center; }

        .product-price { font-size: 1.15rem; font-weight: 800; color: var(--accent); }
        .product-price small { font-size: .75rem; color: var(--text-secondary); font-weight: 400; }

        .product-btn {
            background: var(--accent-soft); color: var(--accent);
            border: none; padding: 8px 18px; border-radius: 8px;
            font-weight: 600; font-size: .85rem; transition: all .3s;
        }

        .product-btn:hover { background: var(--accent); color: #fff; }

        /* ===== Pricing ===== */
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.8rem; align-items: stretch;
        }

        .pricing-card {
            background: var(--bg-card);
            border: 2px solid var(--border);
            border-radius: 16px; padding: 2.2rem 1.8rem;
            text-align: center; box-shadow: var(--shadow-sm);
            transition: all .3s; display: flex; flex-direction: column;
        }

        .pricing-card:hover { box-shadow: var(--shadow-md); }

        .pricing-card.featured {
            border-color: var(--accent);
            box-shadow: var(--shadow-lg);
            position: relative;
        }

        .pricing-card.featured::before {
            content: 'پیشنهاد ویژه';
            position: absolute; top: -14px; right: 50%; transform: translateX(50%);
            background: var(--accent); color: #fff;
            font-size: .75rem; font-weight: 700;
            padding: 4px 18px; border-radius: 50px; white-space: nowrap;
        }

        .pricing-card h3 { font-size: 1.3rem; margin-bottom: .8rem; }
        .pricing-card .price { font-size: 2.1rem; font-weight: 800; color: var(--accent); margin-bottom: 1.5rem; }
        .pricing-card .price small { font-size: .8rem; color: var(--text-secondary); font-weight: 400; }

        .pricing-features { list-style: none; margin-bottom: 2rem; flex: 1; text-align: right; }

        .pricing-features li {
            padding: .6rem 0; color: var(--text-secondary); font-size: .9rem;
            border-bottom: 1px dashed var(--border);
            display: flex; align-items: center; gap: 8px;
        }

        .pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }

        /* ===== Testimonials ===== */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.8rem;
        }

        .testimonial-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px; padding: 1.8rem;
            box-shadow: var(--shadow-sm);
        }

        .testimonial-stars { color: #f7b500; font-size: 1rem; margin-bottom: .8rem; }
        .testimonial-text { color: var(--text-secondary); font-size: .92rem; margin-bottom: 1.2rem; }

        .testimonial-author { display: flex; align-items: center; gap: 12px; }

        .testimonial-avatar {
            width: 46px; height: 46px; border-radius: 50%;
            background: var(--accent-soft); color: var(--accent);
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 1.1rem;
        }

        .testimonial-author h4 { font-size: .95rem; }
        .testimonial-author span { font-size: .78rem; color: var(--text-secondary); }

        /* ===== FAQ ===== */
        .faq-list { max-width: 760px; margin: 0 auto; }

        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px; margin-bottom: 1rem;
            overflow: hidden; transition: box-shadow .3s;
        }

        .faq-item.open { box-shadow: var(--shadow-md); border-color: var(--accent); }

        .faq-question {
            width: 100%; background: none; border: none;
            padding: 1.2rem 1.5rem; text-align: right;
            font-size: 1rem; font-weight: 600; color: var(--text-primary);
            display: flex; justify-content: space-between; align-items: center; gap: 12px;
        }

        .faq-icon { font-size: 1.2rem; color: var(--accent); transition: transform .3s; }
        .faq-item.open .faq-icon { transform: rotate(45deg); }

        .faq-answer {
            max-height: 0; overflow: hidden;
            transition: max-height .4s ease;
        }

        .faq-answer p { padding: 0 1.5rem 1.2rem; color: var(--text-secondary); font-size: .9rem; }

        /* ===== Contact ===== */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem; align-items: start;
        }

        .contact-info-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px; padding: 1.8rem;
            box-shadow: var(--shadow-sm);
        }

        .contact-item {
            display: flex; align-items: center; gap: 14px;
            padding: 1rem 0; border-bottom: 1px dashed var(--border);
        }

        .contact-item:last-child { border-bottom: none; }

        .contact-item .icon {
            width: 44px; height: 44px; flex-shrink: 0;
            background: var(--accent-soft); color: var(--accent);
            border-radius: 10px; display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem;
        }

        .contact-item h4 { font-size: .9rem; }
        .contact-item p { font-size: .85rem; color: var(--text-secondary); direction: ltr; text-align: right; }

        .messengers { display: flex; gap: 12px; margin-top: 1.5rem; flex-wrap: wrap; }

        

        .messenger-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
        .messenger-telegram { background: #229ed9; }
        .messenger-ble { background: #5c2d91; }
        .messenger-whatsapp { background: #25d366; }
        .messenger-eitaa { background: #ff6f00; }

        .map-wrapper {
            border-radius: 14px; overflow: hidden;
            border: 1px solid var(--border); box-shadow: var(--shadow-md);
        }

        .map-wrapper iframe {
            width: 100%; height: 380px; border: 0; display: block;
            filter: grayscale(20%);
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border);
            padding: 2.5rem 0 1.5rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 2.5rem; margin-bottom: 2rem;
        }

        .footer h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--text-primary); }
        .footer p, .footer li { font-size: .88rem; color: var(--text-secondary); margin-bottom: .5rem; }
        .footer ul { list-style: none; }

        .footer a { transition: color .3s; }
        .footer a:hover { color: var(--accent); }

        .footer-bottom {
            border-top: 1px solid var(--border);
            padding-top: 1.2rem; text-align: center;
            font-size: .82rem; color: var(--text-secondary);
        }
		
		.product-img{
			height:150px;
			width:150px;
		}
		
		
		
		/* ===== استایل دکمه‌های ورود و ثبت‌نام ===== */
		.auth-buttons {
			display: flex;
			align-items: center;
			gap: 8px;
		}

		.nav-btn {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			padding: 7px 16px;
			font-size: 0.9rem;
			font-weight: 600;
			border-radius: 8px;
			text-decoration: none;
			transition: all 0.25s ease;
			white-space: nowrap;
		}

		/* دکمه ورود (Outline / ساده) */
		.btn-login {
			color: var(--text-primary);
			background: transparent;
			border: 1px solid var(--border);
		}

		.btn-login:hover {
			border-color: var(--accent);
			color: var(--accent);
			background: var(--bg-secondary);
		}

		/* دکمه ثبت نام (Primary / توپر با رنگ Accent) */
		.btn-register {
			color: #ffffff;
			background: var(--accent);
			border: 1px solid var(--accent);
			box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
		}

		.btn-register:hover {
			background: var(--accent-hover);
			border-color: var(--accent-hover);
			transform: translateY(-1px);
		}

		/* لینک‌های ورود داخل منوی همبرگری موبایل (به صورت پیش‌فرض در دسکتاپ مخفی است) */
		.mobile-auth-links {
			display: none;
		}


		
		/* بخش معرفی اختصاصی کولر پلیمری پویا */
.pooya-intro-section {
    padding: 3.5rem 0;
}

.sub-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.section-lead {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.highlight-text {
    color: var(--accent);
}

/* شبکه کارت‌های ویژگی‌های کلیدی */
.features-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.showcase-card {
    background: var(--surface);
    padding: 1.6rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-align: right;
}

.showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.card-icon-wrap {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.showcase-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.showcase-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* باکس امکانات تکمیلی و راهنما */
.specs-tech-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.specs-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 1.6rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px dashed var(--border);
}

.spec-chip {
    background: var(--accent-soft);
    color: var(--text);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
}

.capacity-guideline-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.capacity-info h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.capacity-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.brand-slogan-badge {
    background: linear-gradient(135deg, var(--accent), #2563eb);
    color: #fff;
    padding: 1rem 1.4rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-slogan-badge span {
    font-weight: 800;
    font-size: 0.95rem;
}

.brand-slogan-badge small {
    opacity: 0.85;
    font-size: 0.8rem;
}

.brand {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 1.25rem; font-weight: 800; color: var(--accent);
    margin-bottom: 1.4rem; text-decoration: none;
}
.brand img { height: 40px; width: auto; border-radius: 8px; }
.brand span.logo-icon { font-size: 1.5rem; }
 
.eye-btn {
    position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-secondary);
    cursor: pointer; font-size: .9rem; transition: color .3s;
}
.eye-btn:hover { color: var(--accent); }

.row-between {
    display: flex; align-items: center; justify-content: space-between;
    margin: .2rem 0 1.2rem; font-size: .85rem;
}
.remember { display: flex; align-items: center; gap: .5rem; cursor: pointer; color: var(--text-secondary); }
.remember input { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.forgot-link { color: var(--accent); text-decoration: none; font-weight: 600; transition: color .3s; }
.forgot-link:hover { color: var(--accent-hover); }
.submit-btn {
    width: 100%; padding: .95rem;
    background: var(--accent); color: #fff;
    border: none; border-radius: 10px;
    font-family: inherit; font-size: 1rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .5rem;
    transition: all .3s; position: relative; overflow: hidden;
    box-shadow: var(--shadow-md);
}
.submit-btn:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.submit-btn:disabled { opacity: .75; cursor: wait; }
.submit-btn.loading .spinner {
    width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35);
    border-top-color: #fff; border-radius: 50%;
    animation: spin .7s linear infinite;
}
.otp-row { display: flex; gap: .6rem; direction: ltr; justify-content: center; }
.otp-row .form-input { text-align: center; font-weight: 700; font-size: 1.2rem; padding: .85rem .4rem; letter-spacing: 2px; }
.register-row {
    text-align: center; margin-top: 1.2rem; font-size: .87rem; color: var(--text-secondary);
}
.register-row a { color: var(--accent); font-weight: 700; text-decoration: none; }
.register-row a:hover { color: var(--accent-hover); }
.divider {
    display: flex; align-items: center; gap: .8rem;
    margin: 1.4rem 0 .6rem; color: var(--text-secondary); font-size: .78rem;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.card-footer {
    margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; font-size: .8rem;
}
.card-footer a { color: var(--text-secondary); text-decoration: none; transition: color .3s; }
.card-footer a:hover { color: var(--accent); }
.card-footer .brand-mini { color: var(--accent); font-weight: 700; }


.body-center{
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    transition: background .3s, color .3s;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

/* ===== mesh background ===== */
.body-center::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 20% 50%, var(--mesh-1) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 80% 30%, var(--mesh-2) 0%, transparent 60%);
}
.body-center::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, var(--mesh-2) 1px, transparent 1px);
    background-size: 30px 30px;
}


/* ===== header ===== */
.card-header { text-align: center; margin-bottom: 1.6rem; }
.card-header h1 { font-size: 1.45rem; font-weight: 800; margin-bottom: .3rem; }
.card-header p { font-size: .88rem; color: var(--text-secondary); }

/* ===== form ===== */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; }
.input-wrap { position: relative; }
.input-wrap .icon {
    position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
    color: var(--text-secondary); font-size: .9rem; pointer-events: none;
}


@media (max-width: 768px) {
    .capacity-guideline-card {
        flex-direction: column;
        text-align: center;
    }
    .brand-slogan-badge {
        width: 100%;
    }
}



/* اصلاح ساختار گرید تماس */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* استایل نقشه - دقیقاً مشابه ابعاد ویدیو */
.contact-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%); /* ظاهر مدرن‌تر برای نقشه */
    transition: filter 0.3s;
}
.contact-map-wrapper iframe:hover { filter: grayscale(0%); }

/* باکس آیکون‌های پیام‌رسان */
.messenger-box {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.msg-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.msg-link:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

/* آیکون‌ها (می‌توانید لینک آیکون‌های SVG یا PNG خود را جایگزین کنید) */
.telegram { background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%230088cc" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.24-1.5-1-.66-.35-1.03.22-1.62.15-.15 2.72-2.49 2.77-2.7.01-.05.01-.24-.09-.33-.1-.09-.24-.07-.35-.04-.15.04-2.5 1.59-7.06 4.67-.67.45-1.28.67-1.82.65-.6-.02-1.74-.33-2.59-.61-1.04-.34-1.87-.52-1.8-1.1.03-.25.38-.5 1.05-.77 4.12-1.81 6.87-3 8.26-3.57 3.93-1.61 4.75-1.9 5.28-1.91.12 0 .38.03.55.17.14.12.18.28.2.45.02.19.02.43 0 .74z"/></svg>'); }
.whatsapp { background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%2325D366" xmlns="http://www.w3.org/2000/svg"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.372-.025-.521-.075-.148-.67-1.613-.918-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a5.47 5.47 0 0 1-2.774-.757l-.199-.118-2.062.541 2.072-2.016-.129-.204a5.47 5.47 0 0 1-.84-2.852c0-3.013 2.45-5.462 5.462-5.462a5.46 5.46 0 0 1 5.461 5.462c0 3.013-2.449 5.462-5.462 5.462M12.029 2c-5.513 0-9.998 4.485-9.998 9.998 0 1.764.462 3.486 1.341 5.006L2 22l5.127-1.344c1.472.803 3.129 1.226 4.802 1.226h.004c5.513 0 9.998-4.485 9.998-9.998C22.01 6.485 17.525 2 12.03 2"/></svg>'); }
.bale { background-image: url('https://ble.ir/favicon.ico'); background-size: 20px; }
.eitaa { background-image: url('https://eitaa.com/favicon.ico'); background-size: 20px; }



/* ===================================================
   REGISTRATION WIZARD STYLES (متصل به متغیرهای site.css)
   =================================================== */

/* متغیرهای رنگی اختصاصی سایدبار و المان‌های فرم */
:root[data-theme="light"], [data-theme="light"] {
    --sidebar-bg: linear-gradient(180deg, #f0f6ff 0%, #e2eeff 100%);
    --sidebar-border: #d0e1fd;
    --sidebar-text: #1e293b;
    --sidebar-muted: #64748b;
    --sidebar-step-border: #cbd5e1;
    --sidebar-step-bg: #ffffff;
    --success: #10b981;
    --error: #ef4444;
}

:root[data-theme="dark"], [data-theme="dark"] {
    --sidebar-bg: linear-gradient(180deg, #0b1329 0%, #0f172a 100%);
    --sidebar-border: #1e293b;
    --sidebar-text: #f8fafc;
    --sidebar-muted: #94a3b8;
    --sidebar-step-border: #334155;
    --sidebar-step-bg: #1e293b;
    --success: #34d399;
    --error: #f87171;
}

/* ساختار کلی صفحه ثبت نام */
.reg-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg-secondary);
}


.reg-layout {
    width: 100%;
    max-width: 1080px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 320px 1fr;
    overflow: hidden;
    min-height: 680px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
 
/* سایدبار سمت راست (نمایش فرآیند و مراحل) */
.side-panel {
    background: var(--sidebar-bg);
    border-left: 1px solid var(--sidebar-border);
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s ease;
}

.side-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 2.5rem;
}

.side-brand img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sidebar-text);
}

.brand-desc {
    font-size: 0.8rem;
    color: var(--sidebar-muted);
}

/* لیست مراحل */
.step-nav {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    opacity: 0.55;
    transition: all 0.3s ease;
}

.step-item.active {
    opacity: 1;
    transform: translateX(-4px);
}

.step-item.done {
    opacity: 0.85;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    background: var(--sidebar-step-bg);
    color: var(--sidebar-muted);
    border: 2px solid var(--sidebar-step-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-item.active .step-num {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-soft);
}

.step-item.done .step-num {
    background: var(--success);
    color: #ffffff;
    border-color: var(--success);
}

.step-meta h4 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--sidebar-text);
}

.step-meta p {
    margin: 3px 0 0;
    font-size: 0.78rem;
    color: var(--sidebar-muted);
}

/* پنل اصلی فرم */
.main-panel {
    padding: 2.2rem 2.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-card);
}

.reg-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.reg-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* نوار باریک پیشرفت بالای فرم */
.progress-track {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #2563eb);
    width: 20%;
    transition: width 0.4s ease;
}

/* فیلدهای فرم و آیکون‌ها */
.form-step-content {
    display: none;
    animation: fadeInStep 0.3s ease forwards;
}

.form-step-content.active {
    display: block;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-group-modern {
    position: relative;
    margin-bottom: 1.3rem;
}

.input-group-modern label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.input-control-modern {
    width: 100%;
    padding: 0.85rem 2.8rem 0.85rem 1rem;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    outline: none;
}

.input-control-modern:focus {
    border-color: var(--accent);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.error-msg {
    color: var(--error);
    font-size: 0.78rem;
    margin-top: 4px;
    display: none;
}

.has-error .input-control-modern {
    border-color: var(--error);
}

.has-error .error-msg {
    display: block;
}

/* جعبه کدهای OTP */
.otp-inputs-wrapper {
    display: flex;
    gap: 12px;
    direction: ltr;
    justify-content: center;
    margin: 1.5rem 0;
}

.otp-box {
    width: 52px;
    height: 56px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.25s;
}

.otp-box:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    background: var(--bg-card);
}

/* کارت‌های انتخاب نوع کاربر (حقیقی / حقوقی و...) */
.types-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.2rem 0;
}

.type-select-card {
    padding: 1.2rem;
    border-radius: 14px;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.type-select-card:hover {
    border-color: var(--accent);
}

.type-select-card.active {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.type-select-card i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* دکمه‌ها */
.btn-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}


.login-card {
    position: relative; z-index: 1;
    background: var(--glass);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.5rem 2.2rem;
    width: 100%; max-width: 460px;
    box-shadow: var(--shadow-lg);
    transition: background .3s, border-color .3s;
}

/* ===== tabs ===== */
.tabs {
    display: flex; background: var(--bg-secondary);
    border: 1px solid var(--border); border-radius: 12px;
    padding: 4px; margin-bottom: 1.6rem; gap: 4px;
}
.tab {
    flex: 1; padding: .6rem .4rem; border: none; border-radius: 9px;
    background: transparent; color: var(--text-secondary);
    font-family: inherit; font-size: .88rem; font-weight: 600;
    cursor: pointer; transition: all .3s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.tab.active {
    background: var(--accent); color: #fff;
    box-shadow: var(--shadow-sm);
}
.tab:not(.active):hover { color: var(--accent); }

.panel { display: none; animation: fade .35s ease; }
.panel.active { display: block; }

.error-msg { font-size: .78rem; color: #ef4444; margin-top: .3rem; display: none; }
.has-error .form-input { border-color: #ef4444 !important; }
.has-error .error-msg { display: block; }



.step-panel { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


/* ===== steps bar ===== */
.steps-bar { display: flex; align-items: center; justify-content: center; margin-bottom: 1.8rem; }
.step-dot {
    width: 32px; height: 32px; border-radius: 50%;
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 700; color: var(--text-secondary);
    background: var(--bg-card);
    transition: all .3s; position: relative; z-index: 1; flex-shrink: 0;
}
.step-dot.active { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.step-dot.done { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.step-line { flex: 1; height: 2px; background: var(--border); max-width: 52px; transition: background .3s; }
.step-line.done { background: var(--accent); }
.info-box {
    background: var(--accent-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .75rem 1rem;
    font-size: .83rem; color: var(--accent);
    display: flex; align-items: flex-start; gap: .6rem;
    margin-bottom: 1.2rem; line-height: 1.6;
}

/* ===== OTP ===== */
.otp-grid { display: flex; gap: .6rem; justify-content: center; direction: ltr; }
.otp-input {
    width: 50px; height: 56px; text-align: center;
    font-size: 1.3rem; font-weight: 700; font-family: inherit;
    border: 1.5px solid var(--border); border-radius: 10px;
    background: var(--bg-card); color: var(--text-primary);
    outline: none; transition: all .3s; caret-color: var(--accent);
}
.otp-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.otp-input.filled { border-color: var(--accent); background: var(--accent-soft); }

.resend-row { display: flex; align-items: center; justify-content: space-between; margin: 1rem 0 .4rem; font-size: .82rem; }
.resend-btn {
    font-family: inherit; font-size: .82rem; font-weight: 600;
    color: var(--accent); background: none; border: none; cursor: pointer; transition: color .3s;
}
.resend-btn:disabled { color: var(--text-secondary); cursor: default; }
.timer { color: var(--text-secondary); }

/* ===== strength meter ===== */
.strength-wrap { margin: .2rem 0 1.1rem; }
.strength-track { height: 5px; background: var(--border); border-radius: 4px; overflow: hidden; }
.strength-bar { height: 100%; width: 0; border-radius: 4px; transition: width .35s, background .35s; }
.strength-label { font-size: .75rem; color: var(--text-secondary); margin-top: .35rem; }
 

/* ===== success ===== */
.success-state { text-align: center; }
.success-icon {
    width: 76px; height: 76px; border-radius: 50%;
    background: rgba(16, 185, 129, .15);
    border: 2px solid rgba(16, 185, 129, .35);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #10b981; margin: 0 auto 1.2rem;
    animation: pop .5s cubic-bezier(.3,1.6,.6,1);
}
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-state h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.success-state p { font-size: .9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

.step-panel { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- استایل مدرن کانتینر کپچا هماهنگ با پروژه --- */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

    .captcha-container .input-wrap {
        flex: 1;
        margin-bottom: 0;
    }

.captcha-img-box {
    display: flex;
    align-items: center;
    background: var(--bg-card, #f8f9fa);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 3px 6px 3px 3px;
    height: 48px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .captcha-img-box:hover {
        border-color: var(--primary, #3b82f6);
    }

    .captcha-img-box img {
        height: 100%;
        border-radius: 8px;
        cursor: pointer;
        user-select: none;
        object-fit: cover;
    }

.captcha-refresh-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--text-muted, #94a3b8);
    font-size: 1rem;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
}

    .captcha-refresh-btn:hover {
        color: var(--primary, #2563eb);
    }

    .captcha-refresh-btn:active i {
        transform: rotate(180deg);
    }

/* انیمیشن چرخش هنگام لود */
.spin-anim {
    animation: spinRotate 0.6s linear infinite;
}

@keyframes spinRotate {
    100% {
        transform: rotate(360deg);
    }
}
.required-mark
{
    color:red;
}
.toast-stack {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    z-index: 9999;
    pointer-events: none;
    width: min(92vw, 380px);
}

.toast {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: #1f2937;
    border: 1px solid rgba(0, 0, 0, .06);
    border-inline-start: 4px solid var(--toast-accent, #6366f1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
    backdrop-filter: blur(10px);
    font-size: .92rem;
    line-height: 1.5;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-14px) scale(.97);
    transition: opacity .28s ease, transform .28s ease;
}

.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast.hide { opacity: 0; transform: translateY(-10px) scale(.97); }

.toast__icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--toast-accent, #6366f1);
    color: #fff;
    font-size: .8rem;
}

.toast__text { flex: 1 1 auto; }

.toast__close {
    flex: 0 0 auto;
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
    opacity: .55;
    font-size: 1rem;
    line-height: 1;
    padding: .2rem;
    border-radius: 6px;
}
.toast__close:hover { opacity: 1; }
.toast__close:focus-visible { outline: 2px solid var(--toast-accent, #6366f1); outline-offset: 2px; }

.toast--success { --toast-accent: #10b981; }
.toast--error   { --toast-accent: #ef4444; }
.toast--warn    { --toast-accent: #f59e0b; }
.toast--info    { --toast-accent: #3b82f6; }

/* حالت شب */
body.dark .toast,
[data-theme="dark"] .toast {
    background: rgba(30, 33, 45, .92);
    color: #e5e7eb;
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

@media (prefers-reduced-motion: reduce) {
    .toast { transition: none; }
}

/* رسپانسیو موبایل */
@media (max-width: 860px) {
    .reg-layout {
        grid-template-columns: 1fr;
    }
    .side-panel {
        display: none; /* در موبایل برای سادگی پنهان می‌شود */
    }
    .main-panel {
        padding: 1.5rem;
    }
}



        /* ===== Responsive ===== */
		@media (max-width: 992px) {
		  .hero-grid { grid-template-columns: 1fr; text-align: center; }
		  .hero-content p { margin: 0 auto 2rem; }
		  .footer-grid { grid-template-columns: 1fr 1fr; }
		}


        @media (max-width: 768px) {
            .hamburger { display: flex; }

            .nav-links {
                position: fixed; top: 0; right: -100%;
                width: 260px; height: 100vh;
                background: var(--bg-card);
                flex-direction: column; padding: 5rem 2rem;
                gap: 1.4rem; box-shadow: var(--shadow-lg);
                transition: right .4s ease; z-index: 99;
                border-left: 1px solid var(--border);
            }

            .nav-links.open { right: 0; }

            .nav-links a { font-size: 1.05rem; }

            .hero-content h1 { font-size: 1.7rem; }
            .section { padding: 3rem 0; }
            .section-title { font-size: 1.5rem; }
            .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
            
        }
		
		