        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        @font-face {
            font-family: "Samim";
            src: url('Samim/Samim-FD.woff2') format('woff2'), url('Samim/Samim-FD.woff') format('woff'), url('Samim/Samim-FD.ttf') format('truetype');
        }

        :root {
            --primary: #3498db;
            --primary-dark: #2980b9;
            --secondary: #9b59b6;
            --secondary-dark: #8e44ad;
            --success: #2ecc71;
            --error: #e74c3c;
            --glass-bg: rgba(255, 255, 255, 0.08);
            --glass-border: rgba(255, 255, 255, 0.15);
            --glass-shadow: rgba(0, 0, 0, 0.1);
            --text-primary: #2c3e50;
            --text-secondary: #546e7a;
            --bg-gradient: linear-gradient(135deg, #0d0229 0%, #190c39 100%);
        }

        body {
            font-family: 'Samim', 'Vazir', 'Segoe UI', Tahoma, sans-serif;
            background: var(--bg-gradient);
            color: var(--text-primary);
            min-height: 100vh;
            overflow: hidden;
            line-height: 1.6;
        }

        /* Split Screen Layout */
        .split-container {
            display: flex;
            height: 100vh;
            width: 100vw;
        }

        .panel {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .left-panel {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(5px);
            border-right: 1px solid rgba(255, 255, 255, 0.1);
        }

        .right-panel {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(5px);
        }

        /* Panel inner content */
        .panel-content {
            width: 100%;
            max-width: 500px;
            text-align: center;
        }

        /* Panel title */
        .panel-title {
            font-size: 2rem;
            margin-bottom: 30px;
            background: linear-gradient(90deg, #fff, #e0e0e0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .left-panel .panel-title {
            background: linear-gradient(90deg, #64b5f6, #90caf9);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .right-panel .panel-title {
            background: linear-gradient(90deg, #81c784, #a5d6a7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .panel-description {
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 40px;
            font-size: 1.1rem;
            max-width: 400px;
            margin-right: auto;
            margin-left: auto;
        }

        /* Glassmorphism containers */
        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-radius: 20px;
            border: 1px solid var(--glass-border);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            padding: 30px;
            margin-bottom: 25px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .glass-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
        }

        /* Button Styles */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 32px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 10px;
            font-family: 'Shabnam', 'Vazir', sans-serif;
            min-height: 60px;
            min-width: 200px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border: none;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        }

        .btn-secondary {
            background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
            border: none;
        }

        .btn-secondary:hover {
            background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
        }

        /* Input Styles */
        .input-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
        }

        .national-code-input {
            width: 100%;
            max-width: 300px;
            padding: 18px 24px;
            background: rgba(255, 255, 255, 0.12);
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            font-size: 1.4rem;
            text-align: center;
            font-family: 'Shabnam', 'Vazir', monospace;
            transition: all 0.3s ease;
            direction: ltr;
            letter-spacing: 2px;
            color: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .national-code-input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .national-code-input:focus {
            outline: none;
            border-color: rgba(255, 255, 255, 0.5);
            background: rgba(255, 255, 255, 0.18);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
        }

        /* Result Display */
        .result-container {
            margin-top: 30px;
            padding: 25px;
            border-radius: 15px;
            background: rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(0, 0, 0, 0.1);
            text-align: center;
            min-height: 140px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .result-title {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 10px;
        }

        .result-value {
            font-size: 3rem;
            font-weight: bold;
            font-family: 'Shabnam', 'Vazir', monospace;
            letter-spacing: 2px;
            color: white;
            direction: ltr;
            word-break: break-all;
            padding: 10px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .validation-result {
            display: inline-flex;
            color: white;
            padding: 5px;
            border-radius: 10px;
        }

        .valid {
            background: rgba(46, 204, 113, 0.3);
            border: 1px solid rgba(46, 204, 113, 0.5);
            box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
        }

        .invalid {
            background: rgba(231, 76, 60, 0.3);
            border: 1px solid rgba(231, 76, 60, 0.5);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
        }

        /* GitHub Link */
        .github-link {
            position: fixed;
            top: 20px;
            left: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: rgba(83, 84, 0, 0.4);
            backdrop-filter: blur(5px);
            border-radius: 50px;
            color: white;
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            z-index: 100;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .github-link:hover {
            background: rgba(0, 0, 0, 0.7);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .github-link svg {
            width: 22px;
            height: 22px;
            fill: white;
        }

        /* App Title */
        .app-title {
            position: fixed;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 1.3rem;
            font-weight: 300;
            z-index: 100;
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }

        .action-btn {
            padding: 12px 24px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgb(44, 134, 194);
            border-radius: 10px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Shabnam', 'Vazir', sans-serif;
            font-size: 0.95rem;
        }

        .action-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        /* Divider line between panels */
        .divider {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 1px;
            background: rgba(255, 255, 255, 0.15);
            z-index: 10;
            transform: translateX(-50%);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            body {
                overflow: auto;
            }

            .split-container {
                flex-direction: column;
                height: auto;
                min-height: 100vh;
                overflow-y: auto;
            }

            .panel {
                min-height: 50vh;
                padding: 20px 10px;
            }

            .panel:hover {
                flex: 1;
            }

            .left-panel {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .divider {
                display: none;
            }

            .app-title {
                position: static;
                text-align: center;
                margin-bottom: 20px;
            }

            .github-link {
                padding: 5px;
                bottom: 70px;
                left: 5px;
                top: unset
            }

            .github-link span {
                display: none;
            }

            .panel-content {
                padding-top: 0px;
            }

            .panel-description {
                font-size: 1rem;
                margin-bottom: 10px;
            }

            .fix-bottom-ad {
                padding: 5px !important;
            }

            .action-buttons {
                display: flex;
                flex-wrap: unset;
                gap: 10px;
                margin-top: 9px;
            }
        }

        @media (max-width: 768px) {
            .panel-title {
                font-size: 1.2rem;
                margin-bottom: 5px;
            }

            .glass-card {
                padding: 10px;
            }

            .btn {
                min-width: 130px;
                padding: 14px 10px;
                font-size: 1rem;
            }

            .result-value {
                font-size: 1.8rem;
            }
            .action-btn{
                padding: 12px 10px;
            }
        }

        /* Animation for generated code */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeIn 1s ease forwards;
        }

        /* For SEO content - hidden but accessible */
        .seo-content {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .fix-bottom-ad {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.3);
            padding: 2vh;
            text-align: center;
            box-sizing: border-box;
        }

        .fix-bottom-ad b {
            background: rgb(255, 255, 214, 0.9);
            padding: 3px 5px;
            border-radius: 5px;
            font-size: 1.8vh;
        }