:root {
            --bg-color: #0b0f19;
            --card-bg: #151c2c;
            --primary: #4f46e5;
            --primary-hover: #6366f1;
            --success: #10b981;
            --success-hover: #059669;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --border-color: rgba(255, 255, 255, 0.1);
            --accent: #a855f7;
        }

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

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.02);
            border-radius: 8px;
        }
        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 8px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.25);
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 2rem 1rem;
        }

        /* Arabic Typography & Tajwid Formatting (Anti-Numpuk Mobile Fix) */
        .neoma-arabic {
            font-family: 'Amiri', 'Traditional Arabic', 'Scheherazade New', 'Noto Naskh Arabic', serif;
            font-size: 1.25em;
            line-height: 2.2 !important;
            display: inline-block;
            direction: rtl;
            unicode-bidi: embed;
            vertical-align: middle;
        }
        .neoma-arabic u, u {
            text-decoration: underline;
            text-underline-offset: 4px;
            text-decoration-thickness: 1.5px;
        }

        .container {
            max-width: 850px;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        /* Branding Header */
        .brand-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 1rem;
            margin-bottom: 0.5rem;
        }

        .brand-logo {
            height: 60px;
            object-fit: contain;
        }

        .brand-title {
            font-family: 'Outfit', sans-serif;
            font-size: 2.2rem;
            font-weight: 800;
            background: linear-gradient(to right, #a5b4fc, #c084fc);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.03em;
        }

        .brand-subtitle {
            color: var(--text-muted);
            font-size: 1.1rem;
            max-width: 600px;
            line-height: 1.5;
        }



        /* Card Layout */
        .main-card {
            width: 100%;
            background-color: var(--card-bg);
            border: 2px solid var(--border-color);
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        }

        /* Step by Step Indicator (Sangat Ramah Guru) */
        .steps-container {
            display: flex;
            justify-content: space-between;
            margin-bottom: 2.5rem;
            position: relative;
        }

        .steps-container::before {
            content: "";
            position: absolute;
            top: 25px;
            left: 10%;
            right: 10%;
            height: 4px;
            background-color: rgba(255, 255, 255, 0.05);
            z-index: 1;
        }

        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            z-index: 2;
            width: 30%;
        }

        .step-number {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            background-color: #1e293b;
            border: 3px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--text-muted);
            transition: all 0.3s ease;
        }

        .step-label {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text-muted);
            text-align: center;
        }

        /* Active / Completed Steps */
        .step-item.active .step-number {
            background-color: var(--primary);
            border-color: #818cf8;
            color: white;
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
        }

        .step-item.active .step-label {
            color: white;
        }

        .step-item.completed .step-number {
            background-color: var(--success);
            border-color: #34d399;
            color: white;
        }

        .step-item.completed .step-label {
            color: #34d399;
        }

        /* File Upload Area */
        .upload-section {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .file-dropzone {
            border: 3px dashed rgba(255, 255, 255, 0.15);
            border-radius: 20px;
            padding: 3.5rem 2rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            background-color: rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.2rem;
        }

        .file-dropzone:hover {
            border-color: var(--primary-hover);
            background-color: rgba(79, 70, 229, 0.05);
        }

        .file-dropzone i {
            font-size: 4.5rem;
            color: #818cf8;
        }

        .file-dropzone h2 {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .file-dropzone p {
            color: var(--text-muted);
            font-size: 1.1rem;
        }

        #fileInput {
            display: none;
        }

        /* Action Panel */
        .action-panel {
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            padding: 1.5rem;
            background-color: rgba(0, 0, 0, 0.3);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            margin-top: 1rem;
            animation: slideDown 0.3s ease;
        }

        .selected-file-name {
            font-size: 1.2rem;
            font-weight: 700;
            color: #f1f5f9;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            max-width: 100%;
            overflow-wrap: anywhere;
        }

        .selected-file-name i {
            color: #818cf8;
        }

        /* Large Simple Buttons */
        .btn-large {
            width: 100%;
            max-width: 400px;
            padding: 1.2rem 2rem;
            font-size: 1.3rem;
            font-weight: 800;
            border-radius: 16px;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            transition: all 0.2s ease;
            color: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .ai-toggle-panel {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            width: 100%;
            box-sizing: border-box;
            margin-bottom: 1rem;
            padding: 1rem;
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: 12px;
            background: rgba(139, 92, 246, 0.08);
            text-align: left;
        }

        .ai-toggle-copy {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            min-width: 0;
        }

        .ai-toggle-copy > div {
            min-width: 0;
        }

        .ai-toggle-copy span {
            display: block;
            line-height: 1.45;
        }

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

        .btn-primary:hover {
            background-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
        }

        .btn-success {
            background-color: var(--success);
        }

        .btn-success:hover {
            background-color: var(--success-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        }

        .btn-secondary {
            background-color: #4b5563;
        }

        .btn-secondary:hover {
            background-color: #374151;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(75, 85, 99, 0.4);
        }

        .btn-template {
            background-color: transparent;
            border: 2px dashed rgba(255, 255, 255, 0.2);
            color: #a5b4fc;
            padding: 0.8rem 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .btn-template:hover {
            border-color: var(--primary);
            color: white;
            background-color: rgba(79, 70, 229, 0.1);
            transform: translateY(-1px);
        }

        .preview-warnings {
            margin-top: 1rem;
            background-color: rgba(245, 158, 11, 0.1);
            border: 1px solid #f59e0b;
            border-radius: 12px;
            padding: 0.8rem 1.2rem;
        }

        .warning-item {
            color: #fbbf24;
            font-size: 0.95rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }


        /* ====================================================
           NEOMA PRO SAAS TOP NAVIGATION BAR & GLASS ISLAND
           ==================================================== */
        .top-nav-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.6rem 1.1rem;
            margin-bottom: 2rem;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
            position: relative;
            z-index: 50;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .top-nav-bar:hover {
            border-color: rgba(99, 102, 241, 0.35);
            box-shadow: 0 12px 36px -8px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
        }

        .top-nav-brand {
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }

        .nav-brand-pill {
            font-size: 0.84rem;
            font-weight: 700;
            color: #f8fafc;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 0.4rem 0.85rem;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            letter-spacing: -0.01em;
            transition: all 0.25s ease;
        }

        .nav-brand-pill:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(245, 158, 11, 0.4);
        }

        .nav-brand-pulse {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #f59e0b;
            box-shadow: 0 0 10px #f59e0b;
            animation: neomaPulseDot 2s infinite ease-in-out;
        }

        @keyframes neomaPulseDot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(0.8); }
        }

        .top-nav-auth {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            position: relative;
        }

        .btn-auth-google {
            background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
            color: #0f172a;
            font-weight: 700;
            font-size: 0.85rem;
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.25s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        }

        .btn-auth-google:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(255,255,255,0.3);
            background: #ffffff;
        }

        /* Tactile Quick Action Pill Buttons */
        .neoma-nav-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #cbd5e1;
            font-size: 0.82rem;
            font-weight: 600;
            padding: 0.45rem 0.85rem;
            border-radius: 12px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            height: 38px;
            box-sizing: border-box;
            user-select: none;
            transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .neoma-nav-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
        }

        .neoma-nav-btn:active {
            transform: scale(0.95);
        }

        .neoma-nav-btn.batch-btn:hover {
            border-color: rgba(99, 102, 241, 0.5);
            color: #c7d2fe;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
        }

        .neoma-nav-btn.gift-btn:hover {
            border-color: rgba(52, 211, 153, 0.5);
            color: #6ee7b7;
            box-shadow: 0 4px 16px rgba(52, 211, 153, 0.2);
        }

        .neoma-nav-btn.history-btn:hover {
            border-color: rgba(167, 139, 250, 0.5);
            color: #ddd6fe;
            box-shadow: 0 4px 16px rgba(167, 139, 250, 0.25);
        }

        /* Avatar Capsule Trigger */
        .neoma-user-menu-wrapper {
            position: relative;
            display: inline-block;
        }

        .neoma-user-trigger {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.12);
            padding: 0.3rem 0.75rem 0.3rem 0.35rem;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            cursor: pointer;
            height: 38px;
            box-sizing: border-box;
            user-select: none;
            transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .neoma-user-trigger:hover, .neoma-user-trigger.active {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(99, 102, 241, 0.45);
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
            transform: translateY(-1px);
        }

        .neoma-user-trigger:active {
            transform: scale(0.96);
        }

        .neoma-user-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
            border: 1.5px solid #6366f1;
        }

        .neoma-user-name {
            font-size: 0.82rem;
            font-weight: 700;
            color: #fff;
            max-width: 110px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .neoma-super-badge {
            font-size: 0.65rem;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #000;
            padding: 0.15rem 0.45rem;
            border-radius: 20px;
            font-weight: 900;
            letter-spacing: 0.02em;
            box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
        }

        .neoma-chevron {
            font-size: 0.7rem;
            color: #94a3b8;
            transition: transform 0.25s ease;
        }

        .neoma-user-trigger.active .neoma-chevron {
            transform: rotate(180deg);
            color: #fff;
        }

        /* Glassmorphic Avatar Dropdown Menu */
        .neoma-dropdown-menu {
            position: absolute;
            top: calc(100% + 12px);
            right: 0;
            width: 280px;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 18px;
            padding: 0.6rem;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(99, 102, 241, 0.18);
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px) scale(0.96);
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
        }

        .neoma-dropdown-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
            pointer-events: auto;
        }

        .neoma-dropdown-header {
            padding: 0.6rem 0.75rem 0.75rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 0.4rem;
        }

        .neoma-dropdown-user-full {
            font-size: 0.88rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .neoma-dropdown-email {
            font-size: 0.74rem;
            color: #94a3b8;
            margin-top: 0.2rem;
            word-break: break-all;
        }

        .neoma-dropdown-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            width: 100%;
            padding: 0.6rem 0.75rem;
            border: none;
            background: transparent;
            color: #cbd5e1;
            font-size: 0.82rem;
            font-weight: 600;
            border-radius: 10px;
            cursor: pointer;
            text-align: left;
            transition: all 0.15s ease;
            box-sizing: border-box;
            user-select: none;
        }

        .neoma-dropdown-item:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            transform: translateX(3px);
        }

        .neoma-dropdown-item:active {
            transform: scale(0.98);
        }

        .neoma-dropdown-item.admin-action {
            color: #fbbf24;
        }

        .neoma-dropdown-item.admin-action:hover {
            background: rgba(245, 158, 11, 0.15);
            color: #fde68a;
        }

        .neoma-dropdown-item.logout-action {
            color: #f87171;
        }

        .neoma-dropdown-item.logout-action:hover {
            background: rgba(239, 68, 68, 0.15);
            color: #fca5a5;
        }

        .neoma-dropdown-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.08);
            margin: 0.4rem 0;
        }

        .dropdown-pill-tag {
            font-size: 0.68rem;
            font-weight: 700;
            padding: 0.12rem 0.45rem;
            border-radius: 6px;
            margin-left: auto;
        }
        .dropdown-pill-tag.gold {
            background: rgba(245, 158, 11, 0.2);
            color: #fbbf24;
            border: 1px solid rgba(245, 158, 11, 0.35);
        }
        .dropdown-pill-tag.green {
            background: rgba(52, 211, 153, 0.2);
            color: #34d399;
            border: 1px solid rgba(52, 211, 153, 0.35);
        }

        /* ====================================================
           NEOMA MORPHING DOWNLOAD BUTTON (Uiverse.io Nazar Edition)
           ==================================================== */
        .neoma-download-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0.6rem 0 1rem 0;
            width: 100%;
        }

        .neoma-dl-label {
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 2px solid #6366f1;
            box-shadow: 0 0 25px rgba(99, 102, 241, 0.35);
            display: flex;
            align-items: center;
            border-radius: 50px;
            width: 270px;
            height: 56px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            padding: 5px;
            position: relative;
            user-select: none;
            box-sizing: border-box;
        }

        .neoma-dl-label:hover {
            box-shadow: 0 0 35px rgba(99, 102, 241, 0.65);
            transform: translateY(-2px);
            border-color: #818cf8;
        }

        .neoma-dl-label::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #818cf8;
            width: 8px;
            height: 8px;
            transition: all 0.4s ease;
            border-radius: 100%;
            margin: auto;
            opacity: 0;
            visibility: hidden;
            box-shadow: 0 0 12px #818cf8;
        }

        .neoma-dl-input {
            display: none;
        }

        .neoma-dl-title {
            font-size: 0.92rem;
            font-weight: 700;
            color: #fff;
            transition: all 0.4s ease;
            position: absolute;
            right: 22px;
            text-align: center;
            letter-spacing: -0.01em;
        }

        .neoma-dl-title.neoma-dl-done {
            opacity: 0;
            visibility: hidden;
            color: #34d399;
        }

        .neoma-dl-circle {
            height: 44px;
            width: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366f1, #4f46e5);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.4s ease;
            position: relative;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
            overflow: hidden;
            flex-shrink: 0;
        }

        .neoma-dl-circle .neoma-dl-icon {
            color: #fff;
            font-size: 1.15rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.4s ease;
        }

        .neoma-dl-circle .neoma-dl-square {
            width: 12px;
            height: 12px;
            border-radius: 2px;
            background-color: #fff;
            opacity: 0;
            visibility: hidden;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.4s ease;
        }

        .neoma-dl-circle::before {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            background: linear-gradient(180deg, #10b981, #059669);
            width: 100%;
            height: 0;
            transition: all 0.4s ease;
        }

        .neoma-dl-label:has(.neoma-dl-input:checked) {
            width: 56px;
            animation: neomaDlInstalled 0.4s ease 2.8s forwards;
        }

        .neoma-dl-label:has(.neoma-dl-input:checked)::before {
            animation: neomaDlRotate 2.4s ease-in-out 0.3s forwards;
        }

        .neoma-dl-input:checked + .neoma-dl-circle {
            animation:
                neomaDlPulse 1s infinite,
                neomaDlCircleDelete 0.2s ease 2.8s forwards;
            rotate: 180deg;
        }

        .neoma-dl-input:checked + .neoma-dl-circle::before {
            animation: neomaDlInstalling 2.4s ease-in-out forwards;
        }

        .neoma-dl-input:checked + .neoma-dl-circle .neoma-dl-icon {
            opacity: 0;
            visibility: hidden;
        }

        .neoma-dl-input:checked ~ .neoma-dl-circle .neoma-dl-square {
            opacity: 1;
            visibility: visible;
        }

        .neoma-dl-input:checked ~ .neoma-dl-title:not(.neoma-dl-done) {
            opacity: 0;
            visibility: hidden;
        }

        .neoma-dl-input:checked ~ .neoma-dl-title.neoma-dl-done {
            animation: neomaDlShowInstalledMessage 0.4s ease 2.8s forwards;
        }

        @keyframes neomaDlPulse {
            0% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
            }
            70% {
                transform: scale(1.03);
                box-shadow: 0 0 0 14px rgba(99, 102, 241, 0);
            }
            100% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
            }
        }

        @keyframes neomaDlInstalling {
            from { height: 0; }
            to { height: 100%; }
        }

        @keyframes neomaDlRotate {
            0% {
                transform: rotate(-90deg) translate(28px) rotate(0);
                opacity: 1;
                visibility: visible;
            }
            99% {
                transform: rotate(270deg) translate(28px) rotate(270deg);
                opacity: 1;
                visibility: visible;
            }
            100% {
                opacity: 0;
                visibility: hidden;
            }
        }

        @keyframes neomaDlInstalled {
            100% {
                width: 250px;
                border-color: #10b981;
                box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
            }
        }

        @keyframes neomaDlCircleDelete {
            100% {
                opacity: 0;
                visibility: hidden;
            }
        }

        @keyframes neomaDlShowInstalledMessage {
            100% {
                opacity: 1;
                visibility: visible;
                right: 50%;
                transform: translateX(50%);
            }
        }

        .preview-tools {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.6rem;
            margin-bottom: 1rem;
            padding: 0.75rem;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 10px;
            background: rgba(0,0,0,0.12);
        }

        .preview-tools select,
        .preview-edit-text {
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 8px;
            background: #111827;
            color: #f8fafc;
            font: inherit;
        }

        .preview-tools select {
            padding: 0.5rem 0.65rem;
        }

        .preview-edit-text {
            display: none;
            width: 100%;
            min-height: 100px;
            margin: 0.6rem 0 0.8rem;
            padding: 0.7rem;
            resize: vertical;
            line-height: 1.5;
        }

        .preview-edit-text.visible {
            display: block;
        }

        .preview-inline-btn {
            border: 1px solid rgba(129, 140, 248, 0.45);
            border-radius: 7px;
            padding: 0.35rem 0.6rem;
            background: rgba(79, 70, 229, 0.15);
            color: #c4b5fd;
            cursor: pointer;
            font: inherit;
            font-size: 0.82rem;
        }

        .preview-inline-btn:hover {
            background: rgba(79, 70, 229, 0.3);
        }

        .choice-edit-field {
            flex: 1;
            min-width: 140px;
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 6px;
            padding: 0.4rem 0.55rem;
            background: rgba(0,0,0,0.2);
            color: #e2e8f0;
            font: inherit;
            font-size: 0.9rem;
        }

        /* Status & Error Alerts */
        .alert-box {
            display: none;
            padding: 1.2rem;
            border-radius: 14px;
            font-size: 1.1rem;
            font-weight: 600;
            text-align: center;
            margin-top: 1rem;
            animation: fadeIn 0.3s ease;
        }

        .alert-success {
            background-color: rgba(16, 185, 129, 0.15);
            border: 2px solid var(--success);
            color: #34d399;
        }

        .alert-danger {
            background-color: rgba(239, 68, 68, 0.15);
            border: 2px solid #ef4444;
            color: #f87171;
        }

        /* Question Preview */
        .preview-card {
            display: none;
            background-color: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 2rem;
            margin-top: 1.5rem;
            animation: fadeIn 0.4s ease;
        }

        /* Switch/Slider styles */
        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(255,255,255,0.1);
            transition: .4s;
            border-radius: 34px;
            border: 1px solid rgba(255,255,255,0.05);
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 4px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        .switch input:checked + .slider {
            background-color: var(--primary) !important;
        }

        .switch input:checked + .slider:before {
            transform: translateX(24px);
        }

        .preview-title {
            font-family: 'Outfit', sans-serif;
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #a5b4fc;
        }

        .preview-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .preview-item {
            background-color: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 1.5rem;
        }

        .preview-q-num {
            font-weight: 800;
            font-size: 1.2rem;
            color: #818cf8;
            margin-bottom: 0.75rem;
        }

        .preview-q-text {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .preview-q-img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 10px;
            border: 2px solid rgba(255, 255, 255, 0.05);
            margin: 1rem 0;
            display: block;
        }

        .preview-choices {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-left: 1rem;
        }

        .preview-choice {
            padding: 0.8rem 1.2rem;
            border-radius: 10px;
            background-color: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .preview-choice.correct {
            background-color: rgba(16, 185, 129, 0.08);
            border-color: var(--success);
            color: #34d399;
            font-weight: 700;
        }

        /* Help Card */
        .help-card {
            background-color: rgba(21, 28, 44, 0.4);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 2rem;
        }

        .help-card h3 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.4rem;
            color: #c084fc;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .help-card ol {
            margin-left: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            font-size: 1.05rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        .help-card code {
            background-color: rgba(0, 0, 0, 0.3);
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            color: #f1f5f9;
            font-family: monospace;
            font-size: 0.95rem;
        }

        .template-box {
            background-color: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 1.2rem;
            margin-top: 1rem;
            font-family: 'Courier New', Courier, monospace;
            font-size: 1rem;
            line-height: 1.4;
            white-space: pre-line;
            color: #e2e8f0;
        }

        /* Kebijakan Privasi & Ketentuan Layanan (Privacy & Policy Redesign) */
        .policy-card {
            background: linear-gradient(180deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.65) 100%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 2rem;
            text-align: left;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            margin-top: 2rem;
        }

        .policy-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .policy-header-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .policy-header-title h3 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.25rem;
            color: #f8fafc;
            margin: 0;
            font-weight: 700;
        }

        /* Kebijakan Privasi & Ketentuan Layanan (Privacy & Policy Redesign) */
        .policy-card {
            background: linear-gradient(180deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.65) 100%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 1.8rem;
            text-align: left;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            margin-top: 2rem;
        }

        .policy-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 1.25rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .policy-header-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .policy-header-title h3 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.25rem;
            color: #f8fafc;
            margin: 0;
            font-weight: 700;
        }

        /* 2x2 symmetrical grid - never orphan cards */
        .policy-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

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

        .policy-item {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 14px;
            padding: 1.15rem;
            display: flex;
            align-items: flex-start;
            gap: 0.9rem;
            transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }

        .policy-item:hover {
            transform: translateY(-2px);
            border-color: rgba(99, 102, 241, 0.3);
            background: rgba(255, 255, 255, 0.04);
        }

        .policy-item-icon {
            width: 40px;
            height: 40px;
            min-width: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
        }

        .policy-item-content h4 {
            font-family: 'Outfit', sans-serif;
            font-size: 0.92rem;
            color: #f1f5f9;
            margin: 0 0 0.3rem 0;
            font-weight: 600;
        }

        .policy-item-content p {
            font-size: 0.8rem;
            color: #94a3b8;
            line-height: 1.5;
            margin: 0;
        }

        /* Footer 2-Column Responsive Layout */
        .app-seo-footer {
            margin-top: 3rem;
            padding: 2.2rem 1.8rem 1.5rem;
            background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(10, 15, 29, 0.95) 100%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            color: #94a3b8;
            font-size: 0.85rem;
            line-height: 1.6;
        }

        .footer-main-grid {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        @media (max-width: 768px) {
            .footer-main-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
        }

        .footer-hub-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.6rem 0.8rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.07);
            border-radius: 10px;
            color: #cbd5e1;
            text-decoration: none;
            font-size: 0.8rem;
            transition: all 0.2s ease;
        }

        .footer-hub-link:hover {
            background: rgba(99, 102, 241, 0.12);
            border-color: rgba(99, 102, 241, 0.35);
            color: #fff;
            transform: translateX(3px);
        }

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

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

        footer {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-top: 2rem;
            margin-bottom: 2rem;
        }

        footer a {
            color: #818cf8;
            text-decoration: none;
        }

        footer a:hover {
            text-decoration: underline;
        }

        /* Tabs and Guide Styles */
        .nav-tabs {
            display: flex;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            margin-bottom: 1.5rem;
            gap: 0.5rem;
        }

        .nav-tab-btn {
            background: none;
            border: none;
            color: rgba(255,255,255,0.6);
            padding: 0.8rem 1.2rem;
            font-size: 1rem;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
        }

        .nav-tab-btn:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.03);
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
        }

        .nav-tab-btn.active {
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
            font-weight: 600;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        .guide-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 1.5rem;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .guide-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            border-color: rgba(255,255,255,0.15);
        }

        .tutorial-panel {
            display: grid;
            grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding: 1.25rem;
            border: 1px solid rgba(129, 140, 248, 0.35);
            border-radius: 14px;
            background: rgba(79, 70, 229, 0.08);
        }

        .tutorial-steps {
            display: grid;
            gap: 0.5rem;
        }

        .tutorial-step {
            width: 100%;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 9px;
            padding: 0.75rem 0.85rem;
            background: rgba(0,0,0,0.15);
            color: var(--text-muted);
            text-align: left;
            cursor: pointer;
            font: inherit;
            transition: border-color 0.2s, background 0.2s, color 0.2s;
        }

        .tutorial-step:hover,
        .tutorial-step.active {
            border-color: #818cf8;
            background: rgba(129, 140, 248, 0.16);
            color: #fff;
        }

        .tutorial-step strong {
            display: block;
            margin-bottom: 0.2rem;
            color: inherit;
        }

        .tutorial-detail {
            min-height: 170px;
            padding: 1rem;
            border-radius: 10px;
            background: rgba(0,0,0,0.2);
            color: var(--text-muted);
            line-height: 1.6;
        }

        .tutorial-detail h3 {
            margin-bottom: 0.45rem;
            color: #fff;
            font-size: 1.1rem;
        }

        .tutorial-detail code {
            color: #c4b5fd;
        }

        @media (max-width: 680px) {
            body {
                padding: 1rem 0.75rem;
            }

            .container {
                gap: 1rem;
            }

            .brand-header {
                gap: 0.65rem;
                margin-bottom: 0;
            }

            .brand-logo {
                height: 44px;
                max-width: 80%;
            }

            .brand-title {
                font-size: 1.75rem;
                line-height: 1.15;
            }

            .brand-subtitle {
                font-size: 0.92rem;
                line-height: 1.45;
            }

            .main-card {
                padding: 1rem;
                border-radius: 16px;
            }

            .nav-tabs {
                gap: 0.25rem;
                margin: -0.25rem -0.25rem 1.25rem;
                overflow-x: auto;
                scrollbar-width: none;
            }

            .nav-tabs::-webkit-scrollbar {
                display: none;
            }

            .nav-tab-btn {
                flex: 0 0 auto;
                padding: 0.7rem 0.75rem;
                font-size: 0.85rem;
                white-space: nowrap;
            }

            .top-nav-bar {
                flex-direction: column;
                gap: 0.8rem;
                padding: 0.8rem;
            }

            .top-nav-brand {
                justify-content: center;
                width: 100%;
            }

            .top-nav-auth {
                flex-wrap: wrap;
                justify-content: center;
                width: 100%;
            }

            .user-profile-badge {
                width: 100%;
                justify-content: center;
            }

            .steps-container {
                margin-bottom: 1.75rem;
            }

            .steps-container::before {
                top: 20px;
                left: 12%;
                right: 12%;
                height: 3px;
            }

            .step-item {
                width: 32%;
                gap: 0.35rem;
            }

            .step-number {
                width: 42px;
                height: 42px;
                border-width: 2px;
                font-size: 1rem;
            }

            .step-label {
                font-size: 0.68rem;
                line-height: 1.25;
            }

            .file-dropzone {
                padding: 2.25rem 1rem;
                gap: 0.8rem;
            }

            .file-dropzone i {
                font-size: 3.25rem;
            }

            .file-dropzone h2 {
                font-size: 1.2rem;
            }

            .file-dropzone p {
                font-size: 0.88rem;
                line-height: 1.5;
            }

            .action-panel {
                padding: 1rem;
                gap: 1rem;
            }

            .selected-file-name {
                align-items: flex-start;
                font-size: 0.95rem;
                line-height: 1.4;
            }

            .ai-toggle-panel {
                align-items: flex-start;
                padding: 0.85rem;
            }

            .ai-toggle-copy {
                align-items: flex-start;
                gap: 0.6rem;
            }

            .ai-toggle-copy strong {
                font-size: 0.88rem !important;
                line-height: 1.35;
            }

            .ai-toggle-copy span {
                font-size: 0.75rem !important;
            }

            .btn-large {
                max-width: none;
                padding: 1rem;
                font-size: 1rem;
                line-height: 1.3;
            }

            .preview-card,
            .guide-card {
                padding: 1rem;
            }

            .preview-tools {
                align-items: stretch;
            }

            .preview-tools select {
                flex: 1 1 100%;
                min-width: 0;
            }

            .tutorial-panel {
                grid-template-columns: 1fr;
                padding: 0.85rem;
            }

            /* Lead Magnet Banner on Mobile */
            .lead-magnet-banner {
                flex-direction: column;
                align-items: stretch;
                padding: 1rem 0.9rem;
                gap: 0.85rem;
            }

            .lead-magnet-banner > div:first-child {
                min-width: 0 !important;
            }

            .btn-lead-claim {
                width: 100%;
                justify-content: center;
                padding: 0.75rem 1rem;
                font-size: 0.9rem;
            }

            /* Bank Soal Modal Mobile Optimizations */
            .bank-soal-modal-container {
                padding: 1.1rem 0.85rem !important;
                max-height: 92vh !important;
                border-radius: 14px !important;
            }

            .bank-soal-card-item {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 0.75rem !important;
                padding: 0.85rem !important;
            }

            .bank-soal-card-download-btn {
                width: 100% !important;
                justify-content: center !important;
                padding: 0.65rem 1rem !important;
                font-size: 0.85rem !important;
                box-sizing: border-box;
            }

            .bank-soal-pills-wrap {
                overflow-x: auto;
                flex-wrap: nowrap !important;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                padding-bottom: 0.2rem;
            }

            .bank-soal-pills-wrap::-webkit-scrollbar {
                display: none;
            }

            .bank-soal-grade-pill {
                flex-shrink: 0;
                white-space: nowrap;
            }

            /* Admin Dashboard Modal Mobile */
            .admin-modal-card {
                padding: 1rem 0.75rem !important;
                width: 98% !important;
                max-height: 92vh !important;
                border-radius: 14px !important;
            }

            .admin-tabs-nav {
                overflow-x: auto;
                flex-wrap: nowrap !important;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                padding-bottom: 0.25rem;
            }

            .admin-tabs-nav::-webkit-scrollbar {
                display: none;
            }

            .admin-tab-btn {
                flex-shrink: 0;
                white-space: nowrap;
                padding: 0.45rem 0.75rem !important;
                font-size: 0.8rem !important;
            }

            /* Table Smooth Touch Scrolling */
            #adminProfilesTableContainer,
            #adminHistoryTableContainer,
            #adminBankSoalTeacherTableContainer {
                -webkit-overflow-scrolling: touch;
                scrollbar-width: thin;
            }

            /* Mobile Controls Strip (Category input & AI toggle vertical stacking) */
            .neoma-controls-strip {
                grid-template-columns: 1fr !important;
                gap: 0.75rem !important;
            }

            .neoma-ai-toggle-pill {
                width: 100% !important;
                justify-content: space-between !important;
            }

            /* Secondary Export Multi-Format Group */
            .secondary-btn-group {
                justify-content: center !important;
                width: 100%;
            }

            .secondary-btn {
                flex: 1 1 calc(50% - 0.5rem) !important;
                justify-content: center !important;
                min-height: 40px !important;
            }

            /* VIP Upgrade Modal Mobile Container */
            .vip-modal-card {
                padding: 1.2rem 0.9rem !important;
                border-radius: 16px !important;
                max-height: 94vh !important;
            }

            .vip-pricing-grid {
                grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
                gap: 0.85rem !important;
            }
        }

        .update-modal-backdrop {
            position: fixed;
            inset: 0;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            background: rgba(3, 7, 18, 0.82);
            backdrop-filter: blur(8px);
            animation: fadeIn 0.25s ease;
        }

        .update-modal {
            width: min(100%, 560px);
            max-height: min(90vh, 680px);
            overflow-y: auto;
            background: #151c2c;
            border: 1px solid rgba(129, 140, 248, 0.45);
            border-radius: 18px;
            padding: 2rem;
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
        }

        .update-modal-content {
            width: min(100%, 580px);
            max-height: min(90vh, 90dvh);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            box-sizing: border-box;
            scrollbar-width: thin;
            scrollbar-color: rgba(96, 165, 250, 0.4) transparent;
        }

        .update-modal-content::-webkit-scrollbar {
            width: 6px;
        }
        .update-modal-content::-webkit-scrollbar-thumb {
            background: rgba(96, 165, 250, 0.3);
            border-radius: 999px;
        }

        .profile-form-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .profile-form-grid-2-1 {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        @media (max-width: 640px) {
            .update-modal-backdrop {
                padding: 0.5rem;
                align-items: center;
                justify-content: center;
            }
            .update-modal-content {
                width: 100% !important;
                max-height: 90dvh !important;
                padding: 1.2rem 1rem !important;
            }
            .profile-form-grid-2,
            .profile-form-grid-2-1 {
                grid-template-columns: 1fr !important;
                gap: 0.85rem !important;
            }
        }

        .update-modal h2 {
            font-family: 'Outfit', sans-serif;
            color: #c4b5fd;
            font-size: 1.7rem;
            margin-bottom: 0.5rem;
        }

        .update-modal p {
            color: var(--text-muted);
            line-height: 1.55;
            margin-bottom: 1rem;
        }

        .update-list {
            display: grid;
            gap: 0.7rem;
            list-style: none;
            margin-bottom: 1.5rem;
        }

        .update-list li {
            display: flex;
            gap: 0.65rem;
            color: #e2e8f0;
            line-height: 1.45;
        }

        .update-list i {
            color: #34d399;
            margin-top: 0.2rem;
        }

        .update-modal .btn-large {
            max-width: none;
            padding: 0.9rem 1.2rem;
            font-size: 1rem;
            border-radius: 12px;
        }

        /* ===================================================
           LEAD MAGNET PROMO BANNER (MODERN CRAFTED FINISH)
           =================================================== */
        .lead-magnet-banner {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(6, 78, 59, 0.2) 100%);
            border: 1px solid rgba(96, 165, 250, 0.32);
            border-radius: 16px;
            padding: 1.15rem 1.4rem;
            margin-bottom: 1.6rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.2rem;
            flex-wrap: wrap;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .lead-magnet-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: -120%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
            transform: skewX(-20deg);
            transition: 0.8s ease;
            pointer-events: none;
        }

        .lead-magnet-banner:hover {
            border-color: rgba(96, 165, 250, 0.55);
            box-shadow: 0 8px 32px rgba(37, 99, 235, 0.18);
        }

        .lead-magnet-banner:hover::before {
            left: 150%;
        }

        .lead-magnet-icon-wrap {
            font-size: 2.3rem;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: gentleGiftFloat 4.5s ease-in-out infinite;
        }

        @keyframes gentleGiftFloat {
            0%, 100% {
                transform: translateY(0) scale(1);
            }
            50% {
                transform: translateY(-4px) scale(1.04);
            }
        }

        .badge-live-ready {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.03em;
            background: rgba(16, 185, 129, 0.15);
            color: #34d399;
            border: 1px solid rgba(16, 185, 129, 0.4);
            padding: 0.18rem 0.6rem;
            border-radius: 999px;
        }

        .badge-live-ready .ping-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #34d399;
            position: relative;
            display: inline-block;
        }

        .badge-live-ready .ping-dot::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 50%;
            background: #34d399;
            animation: livePing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
            opacity: 0.75;
        }

        @keyframes livePing {
            70%, 100% {
                transform: scale(2.3);
                opacity: 0;
            }
        }

        .btn-lead-claim {
            background: #2563eb;
            color: #fff;
            border: none;
            font-size: 0.86rem;
            font-weight: 700;
            padding: 0.68rem 1.3rem;
            border-radius: 10px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
            white-space: nowrap;
            transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
        }

        .btn-lead-claim:hover {
            background: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
        }

        .btn-lead-claim:active {
            transform: translateY(0);
        }

        .btn-lead-claim i {
            transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .btn-lead-claim:hover i {
            transform: rotate(-12deg) scale(1.18);
        }

        /* ====================================================
           NEOMA STUDIO ENGINE: MODERN SAAS WORKSPACE STYLES
           ==================================================== */
        .top-app-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 1.25rem;
            margin-bottom: 2rem;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
        }

        .top-app-brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .top-brand-logo {
            height: 28px;
            width: auto;
            object-fit: contain;
        }

        .top-brand-text {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'Outfit', sans-serif;
        }

        .top-brand-name {
            font-size: 1.05rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: 0.03em;
        }

        .top-brand-app {
            font-size: 0.78rem;
            font-weight: 700;
            color: #818cf8;
            background: rgba(99, 102, 241, 0.15);
            border: 1px solid rgba(99, 102, 241, 0.35);
            padding: 0.12rem 0.5rem;
            border-radius: 6px;
        }

        .brand-hero {
            text-align: center;
            margin-bottom: 2rem;
        }

        .hero-title {
            font-family: 'Outfit', sans-serif;
            font-size: 2.3rem;
            font-weight: 800;
            background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #a5b4fc 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.02em;
            margin-bottom: 0.6rem;
        }

        .hero-subtitle {
            font-size: 1.02rem;
            color: #94a3b8;
            max-width: 620px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Studio Panel (Workspace) */
        .neoma-studio-panel {
            background: rgba(15, 23, 42, 0.65);
            border: 1px solid rgba(255, 255, 255, 0.09);
            border-radius: 20px;
            padding: 1.75rem;
            text-align: left;
            box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(12px);
            margin-bottom: 1.5rem;
        }

        /* Active File Deck */
        .neoma-file-deck {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 1rem 1.25rem;
            border-radius: 14px;
            margin-bottom: 1.25rem;
            transition: all 0.2s ease;
        }

        .neoma-file-deck:hover {
            border-color: rgba(99, 102, 241, 0.35);
            background: rgba(255, 255, 255, 0.05);
        }

        .neoma-file-left {
            display: flex;
            align-items: center;
            gap: 1rem;
            min-width: 0;
        }

        .neoma-file-icon-box {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: rgba(96, 165, 250, 0.12);
            border: 1px solid rgba(96, 165, 250, 0.3);
            color: #60a5fa;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            flex-shrink: 0;
        }

        .neoma-file-meta {
            min-width: 0;
        }

        .neoma-file-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 520px;
        }

        .neoma-file-sub {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.78rem;
            color: #94a3b8;
            margin-top: 0.25rem;
        }

        .neoma-badge-file {
            background: rgba(255, 255, 255, 0.08);
            color: #cbd5e1;
            font-weight: 600;
            padding: 0.1rem 0.45rem;
            border-radius: 4px;
        }

        .neoma-btn-ghost-sm {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #cbd5e1;
            font-size: 0.82rem;
            font-weight: 600;
            padding: 0.45rem 0.9rem;
            border-radius: 10px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
            flex-shrink: 0;
        }

        .neoma-btn-ghost-sm:hover {
            background: rgba(239, 68, 68, 0.15);
            border-color: rgba(239, 68, 68, 0.35);
            color: #fca5a5;
            transform: translateY(-1px);
        }

        .neoma-btn-ghost-sm:active {
            transform: scale(0.96);
        }

        /* Controls Strip */
        .neoma-controls-strip {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 1rem;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .neoma-input-group {
            position: relative;
            display: flex;
            align-items: center;
            width: 100%;
        }

        .neoma-input-icon {
            position: absolute;
            left: 1rem;
            color: #60a5fa;
            font-size: 1rem;
            pointer-events: none;
        }

        .neoma-input-field {
            width: 100%;
            height: 48px;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 0 1rem 0 2.6rem;
            color: #fff;
            font-size: 0.9rem;
            outline: none;
            box-sizing: border-box;
            transition: all 0.2s;
        }

        .neoma-input-field:focus {
            border-color: #6366f1;
            box-shadow: 0 0 18px rgba(99, 102, 241, 0.3);
            background: rgba(0, 0, 0, 0.5);
        }

        .neoma-ai-toggle-pill {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            height: 48px;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 0 1rem;
            box-sizing: border-box;
        }

        .neoma-switch-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #e2e8f0;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            user-select: none;
        }

        .neoma-btn-convert {
            width: 100%;
            height: 52px;
            background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
            border: none;
            border-radius: 14px;
            color: #fff;
            font-size: 1.05rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
            transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .neoma-btn-convert:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(99, 102, 241, 0.65);
            filter: brightness(1.08);
        }

        .neoma-btn-convert:active {
            transform: scale(0.98);
        }

        /* Result Panel Components */
        .neoma-result-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.88rem;
            margin-bottom: 0.6rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .neoma-result-chip {
            background: rgba(16, 185, 129, 0.15);
            border: 1px solid rgba(16, 185, 129, 0.4);
            color: #34d399;
            font-weight: 700;
            font-size: 0.82rem;
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
        }

        .chip-pulse {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #10b981;
            box-shadow: 0 0 8px #10b981;
            animation: neomaPulseDot 1.5s infinite;
        }

        .neoma-result-sub {
            color: #cbd5e1;
            font-weight: 500;
            font-size: 0.85rem;
        }

        .neoma-secondary-export {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-top: 0.6rem;
            flex-wrap: wrap;
            justify-content: center;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            padding: 0.6rem 1rem;
            border-radius: 12px;
        }

        .secondary-label {
            font-size: 0.8rem;
            font-weight: 600;
            color: #94a3b8;
        }

        .secondary-btn-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .secondary-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #cbd5e1;
            font-size: 0.78rem;
            font-weight: 600;
            padding: 0.35rem 0.75rem;
            border-radius: 8px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            transition: all 0.2s ease;
        }

        .secondary-btn:hover {
            background: rgba(255, 255, 255, 0.12);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.25);
            transform: translateY(-1px);
        }

        .neoma-tip-accordion {
            width: 100%;
            max-width: 580px;
            background: rgba(59, 130, 246, 0.08);
            border: 1px solid rgba(59, 130, 246, 0.25);
            border-radius: 10px;
            margin-top: 0.4rem;
            font-size: 0.82rem;
            color: #93c5fd;
            overflow: hidden;
        }

        .neoma-tip-accordion summary {
            padding: 0.6rem 1rem;
            cursor: pointer;
            font-weight: 600;
            user-select: none;
            display: flex;
            align-items: center;
            gap: 0.45rem;
        }

        .neoma-tip-accordion .tip-body {
            padding: 0 1rem 0.8rem 1rem;
            color: #cbd5e1;
            line-height: 1.5;
            font-size: 0.8rem;
            border-top: 1px solid rgba(59, 130, 246, 0.15);
            margin-top: 0.4rem;
            padding-top: 0.6rem;
        }

        .neoma-bottom-actions {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-top: 0.4rem;
            font-size: 0.82rem;
        }

        .btn-ghost-link {
            background: none;
            border: none;
            color: #94a3b8;
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            text-decoration: none;
            transition: all 0.2s;
        }

        .btn-ghost-link:hover {
            color: #fff;
        }

        .btn-ghost-link.wa-link:hover {
            color: #4ade80;
        }

        .neoma-dot-separator {
            color: #475569;
            font-size: 0.75rem;
        }