        :root {
            --bg-color: #08090d;
            --card-bg: rgba(13, 16, 27, 0.65);
            --card-border: rgba(255, 255, 255, 0.07);
            --primary: #5865f2;
            --primary-glow: rgba(88, 101, 242, 0.35);
            --accent: #00f2fe;
            --accent-glow: rgba(0, 242, 254, 0.3);
            --text-main: #f3f4f6;
            --text-muted: #9ca3af;
            --success: #10b981;
            --success-glow: rgba(16, 185, 129, 0.2);
            --warning: #f59e0b;
            --danger: #ef4444;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(88, 101, 242, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.06) 0%, transparent 45%);
            background-attachment: fixed;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 2rem;
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--card-border);
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(8, 9, 13, 0.8);
        }

        .logo {
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 1.5rem;
            letter-spacing: -0.03em;
            background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo-shield {
            color: var(--primary);
            font-size: 1.8rem;
        }

        .nav-info {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .badge {
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: var(--success);
            padding: 0.35rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }

        .badge-pulse {
            width: 6px;
            height: 6px;
            background-color: var(--success);
            border-radius: 50%;
            display: inline-block;
            animation: pulse 1.8s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(0.9); opacity: 0.6; }
            50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px var(--success); }
            100% { transform: scale(0.9); opacity: 0.6; }
        }

        /* Glowing Terminal Scanner CSS */
        .terminal-container {
            background: #05070c;
            border: 1px solid rgba(16, 185, 129, 0.2);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: left;
            font-family: 'Courier New', Courier, monospace;
            box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.05), 0 0 25px rgba(0, 0, 0, 0.5);
            margin: 1.5rem auto;
            max-width: 600px;
            position: relative;
        }
        
        .terminal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding-bottom: 0.75rem;
            margin-bottom: 1rem;
        }

        .terminal-dots {
            display: flex;
            gap: 6px;
        }

        .terminal-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .terminal-dot.red { background: #ef4444; }
        .terminal-dot.yellow { background: #f59e0b; }
        .terminal-dot.green { background: #10b981; }

        .terminal-title {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
        }

        .terminal-log {
            height: 200px;
            overflow-y: auto;
            color: #34d399;
            font-size: 0.85rem;
            line-height: 1.6;
            white-space: pre-wrap;
            scrollbar-width: thin;
            scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
            padding-right: 0.5rem;
        }

        .terminal-log::-webkit-scrollbar {
            width: 6px;
        }

        .terminal-log::-webkit-scrollbar-thumb {
            background: rgba(16, 185, 129, 0.3);
            border-radius: 3px;
        }

        .terminal-input-line {
            display: flex;
            align-items: center;
            color: #34d399;
            margin-top: 0.5rem;
        }

        .terminal-cursor {
            width: 8px;
            height: 15px;
            background: #34d399;
            margin-left: 5px;
            animation: blink-cursor 1s infinite;
        }

        @keyframes blink-cursor {
            0%, 49% { opacity: 1; }
            50%, 100% { opacity: 0; }
        }

        .certification-badge {
            background: rgba(16, 185, 129, 0.04);
            border: 2px solid rgba(16, 185, 129, 0.35);
            border-radius: 12px;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin: 1.5rem auto;
            max-width: 480px;
            animation: zoomInBadge 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 0 30px rgba(16, 185, 129, 0.12);
        }

        .certification-badge-icon {
            font-size: 2.8rem;
            color: #10b981;
            animation: pulseGreen 2.2s infinite;
        }

        @keyframes pulseGreen {
            0% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 185, 129, 0.4)); }
            70% { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5)); }
            100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 185, 129, 0)); }
        }

        @keyframes zoomInBadge {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        main {
            flex: 1;
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            padding: 2.5rem 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }

        .hero {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .hero h1 {
            font-family: 'Outfit', sans-serif;
            font-size: 2.8rem;
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            color: var(--text-muted);
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 2rem;
            backdrop-filter: blur(16px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            position: relative;
            overflow: hidden;
        }

        .card:hover {
            border-color: rgba(255, 255, 255, 0.12);
        }

        /* Upload Area */
        .upload-zone {
            border: 2px dashed rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            padding: 3rem 2rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.25s ease;
            background: rgba(255, 255, 255, 0.01);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.2rem;
        }

        .upload-zone:hover, .upload-zone.dragover {
            border-color: var(--primary);
            background: rgba(88, 101, 242, 0.04);
            box-shadow: 0 0 20px rgba(88, 101, 242, 0.1);
        }

        .upload-icon {
            font-size: 3rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .file-input {
            display: none;
        }

        .btn {
            background: linear-gradient(135deg, var(--primary) 0%, #4752c4 100%);
            color: white;
            border: none;
            padding: 0.8rem 1.8rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 4px 15px var(--primary-glow);
            font-family: 'Inter', sans-serif;
        }

        .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
            filter: brightness(1.1);
        }

        .btn-accent {
            background: linear-gradient(135deg, var(--accent) 0%, #00c9d3 100%);
            color: #08090d;
            box-shadow: 0 4px 15px var(--accent-glow);
        }

        .btn-accent:hover {
            box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid var(--card-border);
            color: var(--text-main);
            box-shadow: none;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.12);
        }

        /* Metrics grid */
        .grid-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .grid-title {
            font-family: 'Outfit', sans-serif;
            font-size: 1.4rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        .audit-metrics {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.2rem;
            margin-bottom: 2rem;
        }

        .metric-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            padding: 1.25rem;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .metric-value {
            font-family: 'Outfit', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent);
        }

        .metric-label {
            color: var(--text-muted);
            font-size: 0.85rem;
            font-weight: 500;
        }

        /* Schema Table */
        .schema-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        @media (min-width: 768px) {
            .schema-container {
                grid-template-columns: 1fr 1fr;
            }
        }

        .schema-box {
            background: rgba(255, 255, 255, 0.01);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 1.25rem;
        }

        .schema-box h3 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .schema-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            max-height: 350px;
            overflow-y: auto;
            padding-right: 0.5rem;
        }

        .schema-list::-webkit-scrollbar {
            width: 6px;
        }
        .schema-list::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.01);
            border-radius: 9999px;
        }
        .schema-list::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 9999px;
        }
        .schema-list::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 242, 254, 0.4);
        }

        .schema-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.6rem 0.8rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 6px;
            font-size: 0.85rem;
            border: 1px solid transparent;
        }

        .schema-item.matched {
            border-color: rgba(16, 185, 129, 0.2);
            background: rgba(16, 185, 129, 0.02);
        }

        .schema-tag {
            font-family: monospace;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
        }

        .tag-source {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-muted);
        }

        .tag-target {
            background: rgba(88, 101, 242, 0.15);
            color: #a5b4fc;
        }

        .tag-success {
            background: rgba(16, 185, 129, 0.15);
            color: var(--success);
        }

        /* Data Grid Pre-Purchase */
        .table-responsive {
            width: 100%;
            overflow-x: auto;
            border: 1px solid var(--card-border);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.01);
            margin-bottom: 1.5rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.85rem;
        }

        th {
            background: rgba(13, 16, 27, 0.9);
            color: var(--text-main);
            font-weight: 600;
            padding: 1rem;
            border-bottom: 1px solid var(--card-border);
            white-space: nowrap;
        }

        td {
            padding: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            color: var(--text-muted);
            white-space: nowrap;
        }

        .masked-cell {
            color: var(--warning);
            font-weight: 600;
            background: rgba(245, 158, 11, 0.07);
            border: 1px dashed rgba(245, 158, 11, 0.25);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
        }

        /* Progress Bar */
        .progress-bar-container {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            height: 8px;
            border-radius: 4px;
            overflow: hidden;
            margin-top: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .progress-bar {
            width: 0%;
            background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
            height: 100%;
            border-radius: 4px;
            transition: width 0.3s ease;
        }

        /* Alerts and notices */
        .notice-banner {
            background: rgba(88, 101, 242, 0.05);
            border: 1px solid rgba(88, 101, 242, 0.15);
            border-radius: 12px;
            padding: 1.25rem;
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .notice-icon {
            font-size: 1.5rem;
            color: var(--primary);
        }

        .notice-content h4 {
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .notice-content p {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        .spinner {
            border: 3px solid rgba(255, 255, 255, 0.1);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border-left-color: var(--accent);
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .hidden {
            display: none !important;
        }

        footer {
            padding: 2rem;
            text-align: center;
            border-top: 1px solid var(--card-border);
            color: var(--text-muted);
            font-size: 0.8rem;
            margin-top: auto;
        }

        /* Flow 2 Custom Styles */
        .dual-upload-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-bottom: 1rem;
        }

        @media (min-width: 768px) {
            .dual-upload-container {
                grid-template-columns: 1fr 1fr;
            }
        }

        .upload-slot {
            background: rgba(255, 255, 255, 0.015);
            border: 2px dashed rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            padding: 2.5rem 1.5rem;
            text-align: center;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .upload-slot:hover, .upload-slot.dragover {
            border-color: var(--primary);
            background: rgba(88, 101, 242, 0.05);
            box-shadow: 0 0 25px rgba(88, 101, 242, 0.15);
            transform: translateY(-2px);
        }

        .slot-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            padding: 0.2rem 0.6rem;
            border-radius: 4px;
            border: 1px solid transparent;
        }

        .badge-waiting {
            background: rgba(245, 158, 11, 0.12);
            border-color: rgba(245, 158, 11, 0.3);
            color: var(--warning);
        }

        .badge-ready {
            background: rgba(16, 185, 129, 0.12);
            border-color: rgba(16, 185, 129, 0.3);
            color: var(--success);
        }

        .file-info-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
            max-width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Step-by-step visualizer */
        .step-visualizer-container {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
            margin: 2rem auto;
            max-width: 420px;
            text-align: left;
        }

        .step-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            transition: all 0.3s ease;
        }

        .step-item.active {
            background: rgba(88, 101, 242, 0.08);
            border-color: rgba(88, 101, 242, 0.3);
            box-shadow: 0 0 15px rgba(88, 101, 242, 0.1);
        }

        .step-item.completed {
            background: rgba(16, 185, 129, 0.06);
            border-color: rgba(16, 185, 129, 0.25);
        }

        .step-number {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-muted);
            transition: all 0.3s ease;
        }

        .step-item.active .step-number {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 0 10px var(--primary-glow);
        }

        .step-item.completed .step-number {
            background: var(--success);
            color: #fff;
        }

        .step-text {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        .step-item.active .step-text {
            color: #fff;
        }

        .step-item.completed .step-text {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: line-through;
        }

        /* Micro-animations and buttons */
        .btn-lg {
            padding: 1rem 2.5rem;
            font-size: 1.05rem;
            border-radius: 12px;
            letter-spacing: 0.02em;
        }
        
        .btn-sm {
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
            border-radius: 6px;
        }

        /* Violations Log Table */
        .violations-log-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.82rem;
        }
        .violations-log-table th {
            background: rgba(13, 16, 27, 0.95);
            color: var(--text-main);
            font-weight: 600;
            padding: 0.8rem 1rem;
            border-bottom: 1px solid var(--card-border);
            white-space: nowrap;
            position: sticky;
            top: 0;
        }
        .violations-log-table td {
            padding: 0.7rem 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            color: var(--text-muted);
            vertical-align: top;
        }
        .violations-log-table tr:hover td {
            background: rgba(88, 101, 242, 0.04);
        }
        .severity-pill {
            display: inline-block;
            padding: 0.15rem 0.55rem;
            border-radius: 9999px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }
        .severity-critical {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #f87171;
        }
        .severity-important {
            background: rgba(245, 158, 11, 0.12);
            border: 1px solid rgba(245, 158, 11, 0.3);
            color: #fbbf24;
        }
        .severity-low {
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #34d399;
        }
        .violations-scroll {
            max-height: 420px;
            overflow-y: auto;
            border: 1px solid var(--card-border);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.01);
        }
        .violations-scroll::-webkit-scrollbar {
            width: 6px;
        }
        .violations-scroll::-webkit-scrollbar-track {
            background: transparent;
        }
        .violations-scroll::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
        }

        /* Telemetry Grid */
        .telemetry-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 1rem;
        }
        .telemetry-item {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            border-radius: 10px;
            padding: 1.1rem 1.25rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: all 0.25s ease;
        }
        .telemetry-item:hover {
            border-color: rgba(88, 101, 242, 0.25);
            background: rgba(88, 101, 242, 0.03);
        }
        .telemetry-icon {
            width: 38px;
            height: 38px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .telemetry-icon.fix { background: rgba(16, 185, 129, 0.12); }
        .telemetry-icon.verify { background: rgba(6, 182, 212, 0.12); color: #22d3ee; }
        .telemetry-icon.skip { background: rgba(245, 158, 11, 0.12); }
        .telemetry-icon.err { background: rgba(239, 68, 68, 0.12); }
        .telemetry-detail {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
            min-width: 0;
        }
        .telemetry-name {
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text-main);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .telemetry-stat {
            font-size: 0.75rem;
            color: var(--text-muted);
        }
        .telemetry-count {
            font-family: 'Outfit', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            margin-left: auto;
            flex-shrink: 0;
        }
        .no-violations-banner {
            text-align: center;
            padding: 2rem;
            color: var(--success);
            font-weight: 600;
            font-size: 1rem;
        }

        /* Mode selection styles */
        .mode-selector-container {
            margin-bottom: 2rem;
        }
        .mode-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 1.5rem;
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .mode-card:hover {
            border-color: rgba(88, 101, 242, 0.3);
            background: rgba(88, 101, 242, 0.03);
            transform: translateY(-2px);
        }
        .mode-card.active {
            border-color: var(--accent);
            background: rgba(0, 242, 254, 0.05);
            box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
        }
        .mode-icon {
            font-size: 2.2rem;
            flex-shrink: 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .mode-details h3 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: #fff;
        }
        .mode-details p {
            color: var(--text-muted);
            font-size: 0.85rem;
            line-height: 1.4;
        }
        .dual-upload-container.single-slot {
            grid-template-columns: 1fr !important;
        }

        /* Glassmorphic progress container styling */
        .glass-progress-card {
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(13, 16, 27, 0.5) !important;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(20px);
            transition: all 0.3s ease;
        }

        /* Glowing checkout button animation once 100% compliant */
        @keyframes pulse-glow {
            0% {
                box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4);
                transform: scale(1);
            }
            70% {
                box-shadow: 0 0 20px 10px rgba(0, 242, 254, 0);
                transform: scale(1.025);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
                transform: scale(1);
            }
        }
        
        .pulse-active {
            animation: pulse-glow 2s infinite !important;
            border-color: rgba(0, 242, 254, 0.5) !important;
        }

        @keyframes highlight-fade {
            0% {
                background-color: rgba(0, 242, 254, 0.15);
            }
            100% {
                background-color: transparent;
            }
        }
        
        .row-highlight td {
            animation: highlight-fade 1.5s ease-out;
        }

        @keyframes pulseGreen {
            0% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
                transform: scale(1);
            }
            70% {
                box-shadow: 0 0 15px 8px rgba(16, 185, 129, 0);
                transform: scale(1.05);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
                transform: scale(1);
            }
        }
        
        @keyframes zoomIn {
            0% {
                opacity: 0;
                transform: scale(0.95);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Premium B2B Glassmorphic Modal Overlay */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(4, 5, 8, 0.85);
            backdrop-filter: blur(14px);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
            transition: opacity 0.3s ease;
        }
        
        .modal-overlay.hidden {
            display: none !important;
        }
        
        .modal-content {
            background: rgba(15, 20, 35, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.1);
            border-radius: 20px;
            width: 90%;
            max-width: 520px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 2.2rem;
            position: relative;
            animation: zoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            color: var(--text-main);
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
        }
        
        .modal-content::-webkit-scrollbar {
            width: 6px;
        }
        
        .modal-content::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .modal-content::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.12);
            border-radius: 3px;
        }
        
        .modal-content::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.25);
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding-bottom: 1rem;
        }
        
        .modal-header h3 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.4rem;
            font-weight: 700;
            background: linear-gradient(135deg, #fff 40%, var(--accent) 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
        
        .modal-close {
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.2s ease;
            line-height: 1;
        }
        
        .modal-close:hover {
            color: #fff;
        }
        
        .modal-body {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
            margin-bottom: 1.75rem;
        }
        
        .modal-form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .modal-form-group label {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .modal-form-group input {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 0.75rem 1rem;
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            transition: all 0.2s ease;
        }
        
        .modal-form-group input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
            background: rgba(0, 0, 0, 0.5);
        }
        
        .modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
        
        /* 1-Click Cloud Hosting Toggle Styling */
        .hosting-toggle-container {
            background: rgba(88, 101, 242, 0.05);
            border: 1px solid rgba(88, 101, 242, 0.18);
            border-radius: 12px;
            padding: 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-top: 0.5rem;
        }
        
        .hosting-toggle-info {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
            text-align: left;
        }
        
        .hosting-toggle-title {
            font-size: 0.85rem;
            font-weight: 600;
            color: #a5b4fc;
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        
        .hosting-toggle-desc {
            font-size: 0.75rem;
            color: var(--text-muted);
            line-height: 1.35;
        }
        
        /* Custom Switch toggle style */
        .switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
            flex-shrink: 0;
        }
        
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .switch-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(255, 255, 255, 0.15);
            transition: .3s;
            border-radius: 34px;
        }
        
        .switch-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .3s;
            border-radius: 50%;
        }
        
        input:checked + .switch-slider {
            background-color: var(--primary);
            box-shadow: 0 0 10px var(--primary-glow);
        }
        
        input:focus + .switch-slider {
            box-shadow: 0 0 1px var(--primary);
        }
        
        input:checked + .switch-slider:before {
            transform: translateX(20px);
        }

/* Diagnostic append test */

        /* Dynamic premium upsell cards */
        .upsell-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }
        
        .upsell-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            border-radius: 14px;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            text-align: left;
        }
        
        .upsell-card:hover {
            transform: translateY(-5px);
            border-color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.04);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        
        /* Popular badge and pulsing effect */
        .upsell-card.popular {
            border: 2px solid var(--accent);
            box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
            background: rgba(0, 242, 254, 0.02);
        }
        
        .upsell-card.popular::before {
            content: 'BEST VALUE';
            position: absolute;
            top: 12px;
            right: -32px;
            background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
            color: #000;
            font-size: 0.6rem;
            font-weight: 800;
            padding: 0.25rem 2rem;
            transform: rotate(45deg);
            letter-spacing: 0.05em;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .upsell-card.popular:hover {
            box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
            border-color: #00f2fe;
        }

        .pulse-border-glow {
            animation: border-glow-pulse 2s infinite ease-in-out;
        }

        @keyframes border-glow-pulse {
            0% {
                border-color: rgba(0, 242, 254, 0.4);
                box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
            }
            50% {
                border-color: rgba(0, 242, 254, 1.0);
                box-shadow: 0 0 30px rgba(0, 242, 254, 0.35);
            }
            100% {
                border-color: rgba(0, 242, 254, 0.4);
                box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
            }
        }
        
        .price-strikethrough {
            text-decoration: line-through;
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-right: 0.5rem;
        }
        
        .price-highlight {
            font-size: 1.8rem;
            font-weight: 800;
            color: #fff;
            font-family: 'Outfit', sans-serif;
        }
        
        .upsell-features {
            list-style: none;
            padding: 0;
            margin: 1.25rem 0;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }
        
        .upsell-feature-item {
            font-size: 0.85rem;
            color: var(--text-muted);
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            line-height: 1.35;
        }
        
        .upsell-feature-item span {
            color: var(--accent);
            font-size: 0.95rem;
            line-height: 1;
        }

        /* Lemon Squeezy checkout simulated indicator */
        .lemon-badge {
            background: linear-gradient(135deg, #FFC72C 0%, #FFA800 100%);
            color: #000;
            font-weight: 800;
            border-radius: 4px;
            padding: 0.15rem 0.4rem;
            font-size: 0.62rem;
            letter-spacing: 0.05em;
            display: inline-block;
            margin-left: 0.5rem;
        }

        /* Inline Plan Selector Styles */
        .inline-plan-selector-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.25rem;
            margin-top: 1.25rem;
            margin-bottom: 1.5rem;
            width: 100%;
            animation: zoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .inline-plan-card {
            text-align: left;
            background: rgba(255,255,255,0.015);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 16px;
            padding: 1.5rem 1.25rem;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: var(--text-main);
            width: 100%;
        }

        .inline-plan-card:hover {
            background: rgba(255,255,255,0.04);
            border-color: rgba(255,255,255,0.12);
            transform: translateY(-2px);
        }

        .inline-plan-card.active-remediate {
            border-color: rgba(0, 242, 254, 0.65) !important;
            background: rgba(0, 242, 254, 0.08) !important;
            box-shadow: 0 0 25px rgba(0, 242, 254, 0.18) !important;
        }

        .inline-plan-card.active-enterprise {
            border-color: rgba(16, 185, 129, 0.55) !important;
            background: rgba(16, 185, 129, 0.08) !important;
            box-shadow: 0 0 25px rgba(16, 185, 129, 0.16) !important;
        }

        .inline-selected-badge {
            display: none;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            color: #000;
            font-size: 0.72rem;
            font-weight: 800;
            position: absolute;
            top: 14px;
            right: 14px;
        }

        .inline-plan-card.active-remediate .inline-selected-badge {
            display: flex;
            background: var(--accent);
            box-shadow: 0 0 12px var(--accent-glow);
        }

        .inline-plan-card.active-enterprise .inline-selected-badge {
            display: flex;
            background: var(--success);
            box-shadow: 0 0 12px var(--success-glow);
        }

        /* Feature 5 Simulation Glassmorphic Tooltips */
        .simulation-tooltip-trigger {
            position: relative;
            display: inline-block;
        }

        .simulation-tooltip-trigger .simulation-tooltip {
            visibility: hidden;
            width: 280px;
            background: rgba(15, 23, 42, 0.95);
            border: 1px solid rgba(16, 185, 129, 0.35);
            color: #fff;
            text-align: left;
            border-radius: 12px;
            padding: 0.8rem 1.1rem;
            position: absolute;
            z-index: 9999;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            opacity: 0;
            transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.2);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            pointer-events: none;
            font-size: 0.82rem;
            line-height: 1.45;
            font-weight: 500;
        }

        .simulation-tooltip-trigger .simulation-tooltip::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -6px;
            border-width: 6px;
            border-style: solid;
            border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
        }

        .simulation-tooltip-trigger:hover .simulation-tooltip {
            visibility: visible;
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        @keyframes pulseCtaBorder {
            0%, 100% {
                box-shadow: 0 0 18px rgba(0, 242, 254, 0.06), inset 0 0 20px rgba(0,242,254,0.015);
                border-color: rgba(0, 242, 254, 0.38);
            }
            50% {
                box-shadow: 0 0 40px rgba(0, 242, 254, 0.18), inset 0 0 25px rgba(0,242,254,0.05);
                border-color: rgba(0, 242, 254, 0.72);
            }
        }

        /* Compliance violation section highlight styles */
        #remediate-upload-cta {
            position: relative;
        }
        #remediate-upload-cta::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 21px;
            background: linear-gradient(135deg, rgba(0,242,254,0.18) 0%, rgba(88,101,242,0.12) 50%, rgba(0,242,254,0.1) 100%);
            z-index: -1;
            filter: blur(8px);
            animation: pulseCtaBorder 3s ease-in-out infinite;
        }


