
        /* --- تنظیمات پایه (همان استایل تمیز قبلی) --- */
        :root {
            --primary: #0f172a;
            --accent: #3b82f6;
            --bg-body: #f8fafc;
            --bg-white: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            --radius: 8px;
            --container: 1280px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Vazirmatn', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; transition: color 0.2s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }
        
        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 24px;
            border-radius: 6px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }
        
        .btn-primary {
            background-color: var(--primary);
            color: white;
        }
        .btn-primary:hover { background-color: #334155; }
        
        .btn-outline {
            border-color: var(--border);
            background-color: white;
            color: var(--text-main);
        }
        .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        .section-title h2 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 10px;
        }
        .section-title p {
            color: var(--text-muted);
        }

        /* --- 1. نو بار بالا (Top Bar) --- */
        .top-bar {
            background-color: var(--primary);
            color: #cbd5e1;
            padding: 10px 0;
            font-size: 0.85rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .top-bar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .top-info span { margin-inline-start: 20px; }
        .top-info i { margin-inline-end: 5px; color: var(--accent); }
        
        .lang-select {
            background: rgba(255,255,255,0.1);
            border: none;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            outline: none;
            cursor: pointer;
        }

        /* --- 2. هدر (Header) --- */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border);
            height: 80px;
            display: flex;
            align-items: center;
            box-shadow: var(--shadow-sm);
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .brand {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        nav {
            flex: 1; 
            display: flex;
            justify-content: center; 
        }

        .nav-menu {
            display: flex;
            gap: 32px;
            align-items: center;
            height: 100%;
            justify-content: center;
        }

        .nav-item {
            height: 100%;
            display: flex;
            align-items: center;
            position: relative;
            padding-top: 10px;
            padding-bottom: 10px;
            cursor: pointer;
        }

        .nav-link {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-main);
            padding: 8px 0;
        }
        .nav-link:hover, .nav-link.active { color: var(--accent); }

        .chevron { font-size: 0.7rem; margin-right: 5px; transition: transform 0.2s; }
        .nav-item:hover .chevron { transform: rotate(180deg); }

        /* --- مگا منو (همان نسخه اصلاح شده) --- */
        

        .nav-item.open .mega-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .mega-sidebar {
            background-color: #f8fafc;
            border-left: 1px solid var(--border);
            padding: 20px 0;
        }

        .cat-item {
            padding: 12px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.9rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: all 0.2s;
        }
        .cat-item:hover, .cat-item.active {
            background-color: white;
            color: var(--primary);
            font-weight: 600;
        }
        
        .mega-content { padding: 30px; background-color: white; }
        .mega-panel { display: none; animation: fadeIn 0.3s ease; }
        .mega-panel.active { display: block; }
        .mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
        
        .mini-card {
            display: flex;
            gap: 15px;
            align-items: center;
            padding: 10px;
            border-radius: var(--radius);
            transition: background 0.2s;
            cursor: pointer;
        }
        .mini-card:hover { background-color: #f1f5f9; }
        .mini-card img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }



        

        /* --- فوتر قوی --- */
        footer {
            background-color: #0f172a;
            color: #94a3b8;
            padding: 60px 0 20px;
            margin-top: 80px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-col h4 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.1rem;
        }
        .footer-col ul li {
            margin-bottom: 10px;
            transition: 0.2s;
            cursor: pointer;
        }
        .footer-col ul li:hover {
            color: var(--accent);
            padding-inline-start: 5px;
        }
        .social-icons a {
            display: inline-flex;
            width: 40px; height: 40px;
            background: rgba(255,255,255,0.1);
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-left: 10px;
            color: white;
            transition: 0.3s;
        }
        .social-icons a:hover { background: var(--accent); }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
        }

        /* ریسپانسیو */
        @media (max-width: 768px) {
            .nav-menu { display: none; }
            .hero-slider { height: 400px; }
            .about-grid { grid-template-columns: 1fr; }
            .slide-content h1 { font-size: 2rem; }
        }
