:root {
            --primary: #00338D;
            --primary-dark: #002260;
            --primary-light: #eef3fb;
            --accent: #10b981;
            --accent-dark: #059669;
            --text-main: #0f172a;
            --text-muted: #475569;
            --bg-body: #f8fafc;
            --bg-card: #ffffff;
            --border: #e2e8f0;
            --radius-md: 16px;
            --radius-lg: 24px;
            --shadow-md: 0 10px 30px rgba(0, 51, 141, 0.08);
            --shadow-lg: 0 20px 45px rgba(0, 51, 141, 0.12);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; 
            background-color: var(--bg-body); 
            color: var(--text-main);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

        /* HEADER */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .nav-inner { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            height: 76px;
        }
        .logo img { height: 48px; width: auto; }
        .nav-links { display: flex; gap: 28px; align-items: center; }
        .nav-links a { 
            text-decoration: none; 
            color: var(--text-muted); 
            font-size: 0.95rem; 
            font-weight: 600; 
            transition: color 0.2s; 
        }
        .nav-links a:hover { color: var(--primary); }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 0.95rem;
            text-decoration: none;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
        }
        .btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 14px rgba(0, 51, 141, 0.25);
        }
        .btn-primary:hover { 
            background: var(--primary-dark); 
            transform: translateY(-2px); 
        }

        /* MAIN CONTENT */
        main {
            flex-grow: 1;
            padding: 60px 0 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at top right, #e8f0fe 0%, transparent 45%),
                        radial-gradient(circle at bottom left, #ecfdf5 0%, transparent 40%);
        }

        .form-card { 
            background: var(--bg-card); 
            padding: 48px; 
            border-radius: var(--radius-lg); 
            width: 100%; 
            max-width: 640px; 
            box-shadow: var(--shadow-lg); 
            border: 1px solid var(--border);
            position: relative; 
        }

        h1 { 
            font-size: 2.2rem; 
            font-weight: 800; 
            margin-bottom: 8px; 
            color: var(--primary); 
            letter-spacing: -0.5px; 
        }
        p.subtitle { 
            color: var(--text-muted); 
            margin-bottom: 32px; 
            font-size: 1.05rem; 
        }

        .form-group { margin-bottom: 20px; }
        label { 
            display: block; 
            font-size: 0.88rem; 
            font-weight: 700; 
            color: var(--text-main); 
            margin-bottom: 6px; 
        }
        input, select, textarea { 
            width: 100%; 
            background: #f8fafc; 
            border: 1px solid var(--border); 
            border-radius: 10px; 
            padding: 13px 16px; 
            color: var(--text-main); 
            font-family: inherit;
            font-size: 0.95rem; 
            transition: all 0.2s; 
        }
        input:focus, select:focus, textarea:focus { 
            outline: none; 
            border-color: var(--primary); 
            background: white; 
            box-shadow: 0 0 0 3px rgba(0, 51, 141, 0.1);
        }

        .btn-submit { 
            width: 100%; 
            background: var(--primary); 
            color: white; 
            border: none; 
            padding: 16px; 
            border-radius: 10px; 
            font-size: 1.05rem; 
            font-weight: 700; 
            cursor: pointer; 
            transition: all 0.2s; 
            margin-top: 12px; 
            box-shadow: 0 4px 14px rgba(0, 51, 141, 0.25);
        }
        .btn-submit:hover { 
            transform: translateY(-2px); 
            box-shadow: 0 8px 20px rgba(0, 51, 141, 0.35); 
            background: var(--primary-dark);
        }

        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

        .success-msg { text-align: center; padding: 20px 0; }
        .success-badge { 
            width: 72px; height: 72px; 
            background: #ecfdf5; 
            color: var(--accent);
            border-radius: 50%; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            margin: 0 auto 24px;
            font-size: 2.2rem;
            font-weight: 800;
        }

        /* FOOTER */
        footer {
            background: #0f172a;
            color: #94a3b8;
            padding: 60px 0 32px;
            font-size: 0.9rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 40px;
        }
        .footer-brand h3 {
            color: white;
            font-size: 1.3rem;
            font-weight: 800;
            margin-bottom: 12px;
        }
        .footer-brand p {
            line-height: 1.6;
            max-width: 320px;
        }
        .footer-col h4 {
            color: white;
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .footer-col ul { list-style: none; }
        .footer-col li { margin-bottom: 10px; }
        .footer-col a {
            color: #94a3b8;
            text-decoration: none;
            transition: color 0.2s;
        }
        .footer-col a:hover { color: white; }
        .footer-bottom {
            padding-top: 24px;
            border-top: 1px solid #1e293b;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
        }

        @media (max-width: 640px) {
            .form-card { padding: 32px 20px; }
            .grid-2 { grid-template-columns: 1fr; gap: 0; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
            .nav-links { display: none; }
        }

        /* Helper classes for CSP compliance */
        .demo-container { display: flex; justify-content: center; }
        .success-desc { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
        .printer-note { font-size: 0.85rem; color: #065f46; background: #ecfdf5; border: 1px solid #a7f3d0; padding: 10px 14px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
        .privacy-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 16px; }
        .nav-login-link { color: var(--primary) !important; font-weight: 700 !important; }
        .footer-logo-img { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }