
        :root {
            --primary: #059669;
            --primary-dark: #047857;
            --primary-light: #10b981;
            --accent: #34d399;
            --black: #0a0a0a;
            --gray-900: #111827;
            --gray-800: #1f2937;
            --gray-700: #374151;
            --gray-600: #4b5563;
            --gray-500: #6b7280;
            --gray-400: #9ca3af;
            --gray-300: #d1d5db;
            --gray-200: #e5e7eb;
            --gray-100: #f3f4f6;
            --gray-50: #f9fafb;
            --white: #ffffff;
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            --info: #3b82f6;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
            min-height: 100vh;
            color: var(--gray-100);
            line-height: 1.6;
        }

        /* Layout with sidebar ads */
        .page-wrapper {
            display: flex;
            min-height: 100vh;
        }

        .sidebar-ad {
            width: 160px;
            min-height: 600px;
            background: rgba(31, 41, 55, 0.3);
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 20px 10px;
            position: sticky;
            top: 0;
        }

        .sidebar-ad ins {
            width: 160px;
            min-height: 600px;
        }

        .container {
            flex: 1;
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }

        @media (max-width: 1200px) {
            .sidebar-ad.left { display: none; }
        }

        @media (max-width: 900px) {
            .sidebar-ad { display: none; }
        }

        .header {
            text-align: center;
            padding: 30px 20px 20px;
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 8px;
        }

        .logo svg {
            width: 36px;
            height: 36px;
            filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
        }

        .logo-text {
            font-size: 26px;
            font-weight: 700;
            background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .brand-subtitle {
            font-size: 12px;
            color: var(--gray-400);
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .tagline {
            font-size: 16px;
            color: var(--gray-300);
            max-width: 500px;
            margin: 0 auto;
        }

        .tagline strong {
            color: var(--accent);
        }

        .security-badges {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 16px;
            flex-wrap: wrap;
        }

        .security-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 11px;
            color: var(--accent);
        }

        .security-badge svg {
            width: 12px;
            height: 12px;
        }

        .main-card {
            background: rgba(31, 41, 55, 0.5);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(75, 85, 99, 0.4);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            margin-top: 20px;
        }

        .tabs {
            display: flex;
            background: rgba(17, 24, 39, 0.6);
            border-bottom: 1px solid rgba(75, 85, 99, 0.4);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .tab {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 16px 20px;
            font-size: 14px;
            font-weight: 500;
            color: var(--gray-400);
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
            position: relative;
        }

        .tab:hover {
            color: var(--gray-200);
            background: rgba(255, 255, 255, 0.05);
        }

        .tab.active {
            color: var(--accent);
            background: rgba(16, 185, 129, 0.1);
        }

        .tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--accent);
        }

        .tab svg {
            width: 18px;
            height: 18px;
        }

        .tab-content {
            padding: 24px;
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .tab-content.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Simple step explanation */
        .simple-steps {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.2);
            border-radius: 12px;
            padding: 16px 20px;
            margin-bottom: 20px;
            text-align: center;
        }

        .simple-steps h3 {
            font-size: 15px;
            font-weight: 600;
            color: var(--accent);
            margin-bottom: 8px;
        }

        .simple-steps p {
            font-size: 14px;
            color: var(--gray-300);
            line-height: 1.5;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-200);
            margin-bottom: 8px;
        }

        .form-input {
            width: 100%;
            padding: 14px 16px;
            font-size: 15px;
            font-family: 'JetBrains Mono', monospace;
            color: var(--white);
            background: rgba(17, 24, 39, 0.8);
            border: 1px solid var(--gray-700);
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
        }

        .form-input::placeholder {
            color: var(--gray-600);
        }

        textarea.form-input {
            resize: vertical;
            min-height: 100px;
        }

        .password-wrapper {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--gray-500);
            cursor: pointer;
            padding: 4px;
            transition: color 0.2s;
        }

        .password-toggle:hover {
            color: var(--gray-300);
        }

        .password-toggle svg {
            width: 20px;
            height: 20px;
        }

        .strength-meter {
            margin-top: 10px;
        }

        .strength-bar {
            height: 4px;
            background: var(--gray-700);
            border-radius: 2px;
            overflow: hidden;
        }

        .strength-fill {
            height: 100%;
            transition: width 0.3s ease, background 0.3s ease;
            border-radius: 2px;
        }

        .strength-text {
            font-size: 12px;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .strength-very-weak { background: #ef4444; }
        .strength-weak { background: #f97316; }
        .strength-medium { background: #eab308; }
        .strength-strong { background: #22c55e; }
        .strength-very-strong { background: #10b981; }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 28px;
            font-size: 15px;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn svg {
            width: 20px;
            height: 20px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        }

        .btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .btn-secondary {
            background: rgba(75, 85, 99, 0.5);
            color: var(--gray-200);
            border: 1px solid var(--gray-600);
        }

        .btn-secondary:hover {
            background: rgba(75, 85, 99, 0.8);
        }

        .btn-block {
            width: 100%;
        }

        .btn-group {
            display: flex;
            border-radius: 8px;
            overflow: hidden;
        }

        .btn-group .btn {
            border-radius: 0;
            flex: 1;
        }

        .btn-group .btn:first-child {
            border-radius: 8px 0 0 8px;
        }

        .btn-group .btn:last-child {
            border-radius: 0 8px 8px 0;
        }

        .btn-group .btn.active {
            background: var(--primary);
            color: white;
        }

        .file-drop {
            border: 2px dashed var(--gray-700);
            border-radius: 12px;
            padding: 30px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            background: rgba(17, 24, 39, 0.5);
        }

        .file-drop:hover,
        .file-drop.drag-over {
            border-color: var(--primary);
            background: rgba(16, 185, 129, 0.1);
        }

        .file-drop svg {
            width: 40px;
            height: 40px;
            color: var(--gray-500);
            margin-bottom: 10px;
        }

        .file-drop-text {
            font-size: 14px;
            color: var(--gray-400);
        }

        .file-name {
            font-family: 'JetBrains Mono', monospace;
            color: var(--accent);
            font-size: 13px;
            margin-top: 8px;
        }

        .progress {
            height: 6px;
            background: var(--gray-700);
            border-radius: 3px;
            overflow: hidden;
            margin-top: 16px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: 3px;
            transition: width 0.3s ease;
        }

        .alert {
            padding: 14px 16px;
            border-radius: 8px;
            font-size: 14px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-top: 16px;
        }

        .alert svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .alert-error {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #fca5a5;
        }

        .alert-success {
            background: rgba(16, 185, 129, 0.15);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #6ee7b7;
        }

        .output-box {
            background: rgba(17, 24, 39, 0.8);
            border: 1px solid var(--gray-700);
            border-radius: 8px;
            padding: 16px;
            margin-top: 16px;
            position: relative;
        }

        .output-label {
            font-size: 12px;
            color: var(--gray-400);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .output-text {
            font-family: 'JetBrains Mono', monospace;
            font-size: 13px;
            color: var(--gray-200);
            word-break: break-all;
            max-height: 120px;
            overflow-y: auto;
        }

        .copy-btn {
            background: none;
            border: none;
            color: var(--gray-400);
            cursor: pointer;
            padding: 4px 8px;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: color 0.2s;
        }

        .copy-btn:hover {
            color: var(--accent);
        }

        .copy-btn svg {
            width: 14px;
            height: 14px;
        }

        .password-display {
            background: rgba(17, 24, 39, 0.8);
            border: 1px solid var(--gray-700);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            position: relative;
        }

        .generated-password {
            font-family: 'JetBrains Mono', monospace;
            font-size: 18px;
            color: var(--accent);
            word-break: break-all;
            padding: 10px 40px 10px 10px;
        }

        .password-display .copy-btn {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            padding: 8px;
        }

        .password-display .copy-btn svg {
            width: 20px;
            height: 20px;
        }

        .range-slider {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            background: var(--gray-700);
            border-radius: 3px;
            outline: none;
        }

        .range-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            background: var(--primary);
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
        }

        .range-slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            background: var(--primary);
            border-radius: 50%;
            cursor: pointer;
            border: none;
        }

        .options-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        @media (max-width: 500px) {
            .options-grid {
                grid-template-columns: 1fr;
            }
        }

        .option-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .checkbox {
            width: 18px;
            height: 18px;
            accent-color: var(--primary);
            cursor: pointer;
        }

        .option-label {
            font-size: 13px;
            color: var(--gray-300);
        }

        .setting-item {
            padding: 14px 0;
            border-bottom: 1px solid var(--gray-700);
        }

        .setting-item:last-child {
            border-bottom: none;
        }

        .setting-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .setting-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--gray-200);
        }

        .setting-desc {
            font-size: 12px;
            color: var(--gray-500);
            margin-top: 4px;
        }

        .toggle {
            position: relative;
            width: 44px;
            height: 24px;
            background: var(--gray-700);
            border-radius: 12px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .toggle.active {
            background: var(--primary);
        }

        .toggle::after {
            content: '';
            position: absolute;
            width: 18px;
            height: 18px;
            background: white;
            border-radius: 50%;
            top: 3px;
            left: 3px;
            transition: transform 0.2s;
        }

        .toggle.active::after {
            transform: translateX(20px);
        }

        select.form-input {
            cursor: pointer;
        }

        .password-type-selector {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
        }

        .password-type-btn {
            flex: 1;
            padding: 14px;
            background: rgba(17, 24, 39, 0.8);
            border: 1px solid var(--gray-700);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }

        .password-type-btn:hover {
            border-color: var(--gray-500);
        }

        .password-type-btn.active {
            border-color: var(--primary);
            background: rgba(16, 185, 129, 0.1);
        }

        .password-type-btn svg {
            width: 28px;
            height: 28px;
            margin-bottom: 8px;
            color: var(--gray-400);
        }

        .password-type-btn.active svg {
            color: var(--accent);
        }

        .password-type-btn .type-title {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-200);
            margin-bottom: 4px;
        }

        .password-type-btn .type-desc {
            display: block;
            font-size: 11px;
            color: var(--gray-500);
        }

        .separator-options {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        .separator-btn {
            padding: 8px 14px;
            font-size: 12px;
            background: rgba(17, 24, 39, 0.8);
            border: 1px solid var(--gray-700);
            border-radius: 6px;
            color: var(--gray-300);
            cursor: pointer;
            font-family: 'JetBrains Mono', monospace;
            transition: all 0.2s;
        }

        .separator-btn:hover {
            border-color: var(--gray-500);
        }

        .separator-btn.active {
            border-color: var(--primary);
            background: rgba(16, 185, 129, 0.1);
            color: var(--accent);
        }

        .info-box {
            background: rgba(17, 24, 39, 0.6);
            border: 1px solid var(--gray-700);
            border-radius: 8px;
            padding: 16px;
            margin-top: 20px;
        }

        .info-box h4 {
            font-size: 13px;
            font-weight: 600;
            color: var(--gray-200);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .info-box h4 svg {
            width: 16px;
            height: 16px;
            color: var(--accent);
        }

        .info-list {
            list-style: none;
        }

        .info-list li {
            font-size: 13px;
            color: var(--gray-400);
            padding: 4px 0;
            padding-left: 16px;
            position: relative;
        }

        .info-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 4px;
            height: 4px;
            background: var(--primary);
            border-radius: 50%;
        }

        .footer {
            text-align: center;
            padding: 24px 20px;
            color: var(--gray-500);
            font-size: 12px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 10px;
        }

        .footer-links a {
            color: var(--gray-400);
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .spin {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @media (max-width: 600px) {
            .container {
                padding: 12px;
            }

            .header {
                padding: 20px 12px 16px;
            }

            .logo-text {
                font-size: 22px;
            }

            .tab-content {
                padding: 16px;
            }

            .tabs {
                padding: 0;
            }

            .tab {
                padding: 12px 14px;
                font-size: 12px;
            }

            .tab span {
                display: none;
            }

            .password-type-selector {
                flex-direction: column;
            }

            .btn-group {
                flex-direction: column;
            }

            .btn-group .btn {
                border-radius: 8px !important;
                margin-bottom: 8px;
            }

            .btn-group .btn:last-child {
                margin-bottom: 0;
            }
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--gray-800);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--gray-600);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--gray-500);
        }

        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        *:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }
    