
 
        html {
            -webkit-text-size-adjust: 100%;
        }
        body {
            max-width: 100%;
            padding-bottom: env(safe-area-inset-bottom, 0px);
            background-color: #ffffff;
        }
        img, svg {
            max-width: 100%;
            height: auto;
        }

        /* FAQ Styles */
        .faq-item {
            transition: all 0.3s ease;
        }
        .faq-item.active {
            border-color: #D4AF37;
        }
        .faq-item .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 20px;
        }
        .faq-item.active .faq-answer {
            max-height: 500px;
            padding: 16px 20px;
        }
        .faq-item .chevron-icon {
            transition: transform 0.3s ease;
        }
        .faq-item.active .chevron-icon {
            transform: rotate(180deg);
        }

        /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
            animation: fadeIn 0.3s ease;
        }
        .modal-overlay.active {
            display: flex;
        }
        .modal-content {
            background: #ffffff;
            border-radius: 24px;
            max-width: 750px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            padding: 30px 35px;
            position: relative;
            animation: slideUp 0.4s ease;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
        }
        .modal-close {
            position: sticky;
            top: 0;
            float: right;
            background: #f1f5f9;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 22px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
            color: #1e293b;
            margin-top: -10px;
            margin-right: -15px;
        }
        .modal-close:hover {
            background: #e2e8f0;
            transform: rotate(90deg);
        }
        .modal-title {
            font-size: 24px;
            font-weight: 700;
            color: #0a1628;
            margin-bottom: 6px;
        }
        .modal-subtitle {
            color: #64748b;
            font-size: 14px;
            margin-bottom: 20px;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes slideUp {
            from { transform: translateY(40px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        /* Step Indicator */
        .step-indicators {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding: 0 5px;
        }
        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            position: relative;
        }
        .step-item .step-number {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #e2e8f0;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.4s ease;
            position: relative;
            z-index: 2;
        }
        .step-item.active .step-number {
            background: #D4AF37;
            color: #0a1628;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        }
        .step-item.completed .step-number {
            background: #22c55e;
            color: white;
        }
        .step-item .step-label {
            font-size: 10px;
            margin-top: 5px;
            color: #94a3b8;
            font-weight: 500;
            text-align: center;
        }
        .step-item.active .step-label {
            color: #D4AF37;
        }
        .step-item.completed .step-label {
            color: #22c55e;
        }
        .step-line {
            flex: 1;
            height: 2px;
            background: #e2e8f0;
            margin: 0 -5px;
            position: relative;
            top: -18px;
            z-index: 1;
        }
        .step-line.active {
            background: #D4AF37;
        }
        .step-line.completed {
            background: #22c55e;
        }

        /* Step Content */
        .step-content {
            display: none;
            animation: fadeIn 0.3s ease;
        }
        .step-content.active {
            display: block;
        }

        /* Form Styles */
        .modal-form .form-group {
            margin-bottom: 16px;
        }
        .modal-form label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: #334155;
            margin-bottom: 4px;
        }
        .modal-form input, .modal-form select, .modal-form textarea {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 14px;
            transition: all 0.3s ease;
            background: #f8fafc;
            color: #0f172a;
        }
        .modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
            outline: none;
            border-color: #D4AF37;
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
        }
        .modal-form input::placeholder, .modal-form textarea::placeholder {
            color: #94a3b8;
        }

        /* Fixed Amount Display (read-only) */
        .amount-fixed-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 14px 18px;
            background: #fefce8;
            border: 1.5px solid #D4AF37;
            border-radius: 12px;
            margin-bottom: 16px;
        }
        .amount-fixed-box .amount-label {
            font-size: 11px;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .amount-fixed-box .amount-value {
            font-size: 22px;
            font-weight: 800;
            color: #0a1628;
            font-family: 'Outfit', sans-serif;
        }
        .amount-fixed-box .amount-lock-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: rgba(212, 175, 55, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #D4AF37;
            font-size: 16px;
            flex-shrink: 0;
        }

        /* QR Code Display */
        .qr-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            background: #f8fafc;
            border-radius: 16px;
            border: 2px solid #e2e8f0;
            margin-bottom: 16px;
        }
        .qr-container img {
            max-width: 200px;
            width: 100%;
            height: auto;
            border-radius: 12px;
            margin-bottom: 12px;
        }
        .qr-container .qr-label {
            font-size: 13px;
            font-weight: 600;
            color: #0a1628;
        }
        .qr-container .qr-sub {
            font-size: 12px;
            color: #64748b;
            text-align: center;
            margin-top: 4px;
        }

        /* File Upload Styles */
        .file-upload-wrapper {
            position: relative;
            width: 100%;
        }
        .file-upload-wrapper input[type="file"] {
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            z-index: 2;
        }
        .file-upload-area {
            border: 2px dashed #e2e8f0;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            background: #f8fafc;
            cursor: pointer;
        }
        .file-upload-area:hover {
            border-color: #D4AF37;
            background: #fefce8;
        }
        .file-upload-area .upload-icon {
            font-size: 32px;
            display: block;
            margin-bottom: 6px;
        }
        .file-upload-area .upload-text {
            font-size: 13px;
            color: #64748b;
        }
        .file-upload-area .file-name {
            font-size: 12px;
            color: #22c55e;
            font-weight: 500;
            margin-top: 4px;
        }
        .file-upload-area.has-file {
            border-color: #22c55e;
            background: #f0fdf4;
        }

        .modal-form .btn-next, .modal-form .btn-prev, .modal-form .btn-submit {
            padding: 12px 28px;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .modal-form .btn-next {
            background: linear-gradient(135deg, #D4AF37, #c5a02e);
            color: #0a1628;
        }
        .modal-form .btn-next:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
        }
        .modal-form .btn-prev {
            background: #e2e8f0;
            color: #334155;
        }
        .modal-form .btn-prev:hover {
            background: #cbd5e1;
        }
        .modal-form .btn-submit {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: white;
            width: 100%;
        }
        .modal-form .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(34, 197, 94, 0.35);
        }
        .modal-form .btn-whatsapp {
            background: #25D366;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            text-align: center;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .modal-form .btn-whatsapp:hover {
            background: #1da851;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
        }
        .modal-form .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        .modal-form .form-buttons {
            display: flex;
            gap: 12px;
            margin-top: 8px;
        }
        .modal-form .form-buttons.center {
            justify-content: center;
        }
        .modal-form .form-buttons .btn-next,
        .modal-form .form-buttons .btn-prev {
            flex: 1;
        }

        /* Password Display */
        .password-display {
            background: #f1f5f9;
            border-radius: 12px;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            border: 1px solid #e2e8f0;
        }
        .password-display .password-text {
            font-family: monospace;
            font-size: 16px;
            font-weight: 600;
            color: #0a1628;
            letter-spacing: 1px;
            word-break: break-all;
        }
        .password-display .copy-btn {
            background: none;
            border: none;
            color: #D4AF37;
            cursor: pointer;
            font-size: 18px;
            padding: 4px 8px;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        .password-display .copy-btn:hover {
            transform: scale(1.1);
        }

        /* DOB Input with mask styling */
        .dob-input {
            font-family: 'Poppins', sans-serif;
            letter-spacing: 1px;
        }
        .dob-input.valid {
            border-color: #22c55e !important;
            background: #f0fdf4 !important;
        }
        .dob-input.invalid {
            border-color: #ef4444 !important;
            background: #fef2f2 !important;
        }

        @media (max-width: 640px) {
            .modal-content {
                padding: 20px;
                max-height: 95vh;
            }
            .modal-form .form-row {
                grid-template-columns: 1fr;
            }
            .modal-title {
                font-size: 20px;
            }
            .modal-close {
                margin-right: -5px;
            }
            .step-item .step-label {
                font-size: 8px;
            }
            .step-item .step-number {
                width: 30px;
                height: 30px;
                font-size: 12px;
            }
            .file-upload-area {
                padding: 14px;
            }
            .qr-container img {
                max-width: 150px;
            }
            .faq-item .faq-answer {
                padding: 0 12px;
            }
            .faq-item.active .faq-answer {
                padding: 12px;
            }
        }

        .modal-content::-webkit-scrollbar {
            width: 6px;
        }
        .modal-content::-webkit-scrollbar-track {
            background: transparent;
        }
        .modal-content::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }

        body.modal-open {
            overflow: hidden;
        }

        /* Thank You Popup Styles */
        #thankYouPopup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            background: #ffffff;
            padding: 40px 50px;
            border-radius: 24px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
            z-index: 99999;
            text-align: center;
            max-width: 450px;
            width: 90%;
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            border: 2px solid #22c55e;
        }
        #thankYouPopup.show {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        #thankYouPopup .popup-icon {
            font-size: 60px;
            margin-bottom: 10px;
            display: block;
        }
        #thankYouPopup .popup-title {
            font-size: 24px;
            font-weight: 700;
            color: #0a1628;
            margin-bottom: 8px;
        }
        #thankYouPopup .popup-message {
            font-size: 15px;
            color: #64748b;
            margin-bottom: 16px;
            line-height: 1.6;
        }
        #thankYouPopup .popup-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 8px;
        }
        #thankYouPopup .popup-dots span {
            display: inline-block;
            width: 8px;
            height: 8px;
            background: #22c55e;
            border-radius: 50%;
            animation: popupDot 1.4s ease-in-out infinite;
        }
        #thankYouPopup .popup-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }
        #thankYouPopup .popup-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes popupDot {
            0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
            40% { transform: scale(1); opacity: 1; }
        }

        #thankYouOverlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 99998;
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }
        #thankYouOverlay.show {
            opacity: 1;
        }

