
        :root {
            --primary: #0d6efd;
            --primary-dark: #0a58ca;
            --primary-light: #e8f0fe;
            --primary-rgb: 13, 110, 253;
            --gray-600: #6b7a8e;
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.10);
            --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
            --radius: 16px;
            --radius-sm: 10px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        body {
            font-family: 'IBM Plex Sans Thai', 'Open Sans', sans-serif;
            background: #f0f4f9;
            color: #1a2332;
            line-height: 1.6;
            min-height: 100vh;
        }

        /* ============================================================
               HERO — ใช้ดีไซน์จาก maintenance แต่ปรับให้เข้ากับฟอร์ม
               ============================================================ */
        .hero-section {
            background: linear-gradient(145deg, #0b2a4e 0%, #1a4b7a 50%, #2a6fa5 100%);
            padding: 60px 0 50px;
            position: relative;
            overflow: hidden;
            border-radius: 0 0 48px 48px;
            margin-bottom: 30px;
            box-shadow: 0 12px 48px rgba(10, 50, 100, 0.30);
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -15%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .hero-section::after {
            content: '';
            position: absolute;
            bottom: -40%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .hero-section .container {
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(8px);
            padding: 6px 20px 6px 16px;
            border-radius: 50px;
            color: #fff;
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 0.3px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 20px;
        }

        .hero-badge .pulse-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            background: #ffc107;
            border-radius: 50%;
            animation: pulse-dot 1.8s ease-in-out infinite;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.6);
                opacity: 0.4;
            }
        }

        .hero-section h1 {
            color: #fff;
            font-size: 2.6rem;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .hero-section h1 img {
            height: 60px;
            width: auto;
        }

        .hero-section .lead {
            color: rgba(255, 255, 255, 0.80);
            font-size: 1.1rem;
            font-weight: 300;
            max-width: 620px;
            margin-bottom: 0;
        }

        /* status row */
        .status-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 24px 40px;
            margin-top: 28px;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .status-item {
            display: flex;
            align-items: center;
            gap: 12px;
            color: rgba(255, 255, 255, 0.80);
            font-size: 14px;
        }

        .status-item .icon-wrap {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #6ab0ff;
            flex-shrink: 0;
        }

        .status-item .label {
            font-weight: 300;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.60);
        }

        .status-item .value {
            font-weight: 600;
            font-size: 16px;
            color: #fff;
        }

        /* progress */
        .progress-track {
            margin-top: 24px;
            background: rgba(255, 255, 255, 0.10);
            border-radius: 50px;
            height: 6px;
            overflow: hidden;
            max-width: 500px;
        }

        .progress-track .progress-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #6ab0ff, #ffc107);
            border-radius: 50px;
            animation: fill-progress 2.8s ease forwards;
        }

        @keyframes fill-progress {
            0% {
                width: 0%;
            }
            100% {
                width: 72%;
            }
        }

        /* ============================================================
               PASSWORD CARD — ดีไซน์จากต้นฉบับ ปรับให้เข้ากับ hero
               ============================================================ */
        .password-card {
            background: #fff;
            border-radius: var(--radius);
            padding: 44px 40px 36px;
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(0, 0, 0, 0.04);
            margin-top: -20px;
            position: relative;
            z-index: 3;
            max-width: 540px;
            margin-left: auto;
            margin-right: auto;
            transition: var(--transition);
        }

        .password-card .lock-icon-ring {
            width: 76px;
            height: 76px;
            border-radius: 50%;
            background: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            font-size: 32px;
            color: var(--primary);
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%,
            100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-6px);
            }
        }

        .password-card h3 {
            font-weight: 600;
            font-size: 1.4rem;
            color: #0b2a4e;
            margin-bottom: 4px;
            text-align: center;
        }

        .password-card .sub-text {
            color: var(--gray-600);
            font-size: 0.95rem;
            text-align: center;
            margin-bottom: 24px;
        }

        /* input group */
        .password-input-group .input-group-text {
            background: #f1f4f9;
            border-right: 0;
        }

        .password-input-group .form-control {
            border-left: 0;
            background: #f1f4f9;
            font-size: 1rem;
            padding: 0.65rem 1rem;
        }

        .password-input-group .form-control:focus {
            box-shadow: none;
            border-color: #ced4da;
            background: #ffffff;
        }

        .password-input-group .btn-toggle {
            background: #f1f4f9;
            border-left: 0;
            color: #495057;
        }

        .password-input-group .btn-toggle:hover {
            background: #e9ecef;
        }

        .btn-submit {
            background: var(--primary);
            border: none;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            border-radius: 50px;
            transition: var(--transition);
        }

        .btn-submit:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(13, 110, 253, 0.30);
        }

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

        .error-msg {
            font-size: 0.9rem;
            background: #fff2f0;
            padding: 0.5rem 1rem;
            border-radius: 12px;
            border-left: 4px solid #dc3545;
        }

        .footer-shield {
            font-size: 0.8rem;
            color: var(--gray-600);
        }

        .footer-shield i {
            color: var(--primary);
        }

        .card-footer-note {
            background: #f8faff;
            padding: 0.9rem 1.5rem;
            text-align: center;
            border-top: 1px solid #eef2f7;
            font-size: 0.85rem;
            color: var(--gray-600);
            border-radius: 0 0 var(--radius) var(--radius);
        }

        /* ============================================================
               FEATURES GRID (teaser)
               ============================================================ */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            margin-top: 48px;
            max-width: 820px;
            margin-left: auto;
            margin-right: auto;
        }

        .features-grid .feat-item {
            background: #fff;
            border-radius: var(--radius-sm);
            padding: 22px 16px;
            text-align: center;
            border: 1px solid rgba(0, 0, 0, 0.04);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            transition: var(--transition);
        }

        .features-grid .feat-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: rgba(13, 110, 253, 0.12);
        }

        .features-grid .feat-item .feat-icon {
            font-size: 26px;
            color: var(--primary);
            margin-bottom: 6px;
        }

        .features-grid .feat-item h6 {
            font-weight: 600;
            font-size: 0.95rem;
            color: #0b2a4e;
            margin-bottom: 2px;
        }

        .features-grid .feat-item p {
            font-size: 13px;
            color: var(--gray-600);
            margin: 0;
        }

        /* ============================================================
               ANIMATIONS
               ============================================================ */
        .fade-in-up {
            animation: fadeInUp 0.7s ease forwards;
            opacity: 0;
        }

        .fade-in-up.delay-1 {
            animation-delay: 0.10s;
        }
        .fade-in-up.delay-2 {
            animation-delay: 0.20s;
        }
        .fade-in-up.delay-3 {
            animation-delay: 0.30s;
        }
        .fade-in-up.delay-4 {
            animation-delay: 0.40s;
        }
        .fade-in-up.delay-5 {
            animation-delay: 0.50s;
        }

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

        /* ============================================================
               RESPONSIVE
               ============================================================ */
        @media (max-width: 992px) {
            .hero-section h1 {
                font-size: 2.0rem;
            }
            .hero-section h1 img {
                height: 48px;
            }
            .hero-section .lead {
                font-size: 1rem;
            }
            .password-card {
                padding: 32px 28px 28px;
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 40px 0 32px;
                border-radius: 0 0 28px 28px;
            }
            .hero-section h1 {
                font-size: 1.5rem;
                gap: 10px;
            }
            .hero-section h1 img {
                height: 40px;
            }
            .hero-section .lead {
                font-size: 0.92rem;
            }
            .status-row {
                gap: 14px 20px;
                flex-direction: column;
                align-items: flex-start;
            }
            .status-item .icon-wrap {
                width: 34px;
                height: 34px;
                font-size: 15px;
            }
            .password-card {
                padding: 24px 18px 20px;
                margin-top: -12px;
            }
            .password-card .lock-icon-ring {
                width: 60px;
                height: 60px;
                font-size: 26px;
            }
            .password-card h3 {
                font-size: 1.2rem;
            }
            .features-grid {
                grid-template-columns: 1fr 1fr;
                gap: 14px;
                margin-top: 32px;
            }
            .features-grid .feat-item {
                padding: 16px 12px;
            }
        }

        @media (max-width: 480px) {
            .hero-section {
                padding: 28px 0 24px;
                border-radius: 0 0 20px 20px;
            }
            .hero-section h1 {
                font-size: 1.25rem;
            }
            .hero-section h1 img {
                height: 32px;
            }
            .hero-badge {
                font-size: 11px;
                padding: 4px 14px 4px 10px;
            }
            .hero-badge .pulse-dot {
                width: 8px;
                height: 8px;
            }
            .password-card {
                padding: 20px 14px 16px;
            }
            .password-card .sub-text {
                font-size: 0.85rem;
            }
            .features-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            .progress-track {
                max-width: 100%;
            }
        }

        /* scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #e9edf4;
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb {
            background: #c0cad8;
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #a0aec0;
        }
 