 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
        }

        .container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 20px;
        }

        .page {
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .page.active {
            display: block;
            opacity: 1;
        }

        /* Payment Page Styles */
        .payment-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 40px;
            width: 100%;
            max-width: 500px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .header {
            text-align: center;
            margin-bottom: 30px;
        }

        .header h1 {
            font-size: 28px;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 8px;
        }

        .header p {
            color: #718096;
            font-size: 16px;
        }

        .payment-summary {
            background: #f8fafc;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 30px;
            border: 1px solid #e2e8f0;
        }

        .item, .total {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
        }

        .total {
            border-top: 1px solid #e2e8f0;
            padding-top: 12px;
            margin-bottom: 0;
            font-weight: 600;
            color: #2d3748;
        }

        .price {
            font-weight: 600;
            color: #2d3748;
        }

        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        .form-row {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 15px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #4a5568;
            font-size: 14px;
        }

        input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: white;
        }

        input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .amount-info {
            margin-top: 5px;
        }

        .card-icons {
            position: absolute;
            right: 12px;
            top: 38px;
            font-size: 20px;
        }

        .pay-btn, .verify-btn, .continue-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
        }

        .pay-btn:hover, .verify-btn:hover, .continue-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
        }

        .security-info {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 20px;
            color: #718096;
            font-size: 14px;
        }

        /* OTP Page Styles */
        .otp-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 40px;
            width: 100%;
            max-width: 450px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .back-btn {
            color: #667eea;
            cursor: pointer;
            font-weight: 500;
            margin-bottom: 20px;
            display: inline-block;
            transition: color 0.3s ease;
        }

        .back-btn:hover {
            color: #764ba2;
        }

        .phone-display {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin: 30px 0;
            padding: 15px;
            background: #f8fafc;
            border-radius: 10px;
            font-weight: 500;
        }

        .otp-inputs {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 30px 0;
        }

        .otp-input {
            width: 50px;
            height: 50px;
            text-align: center;
            font-size: 20px;
            font-weight: 600;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .otp-input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .timer {
            text-align: center;
            margin: 20px 0;
        }

        .resend-btn {
            background: none;
            border: none;
            color: #667eea;
            cursor: pointer;
            font-weight: 500;
            margin-left: 10px;
            transition: color 0.3s ease;
        }

        .resend-btn:hover:not(:disabled) {
            color: #764ba2;
        }

        .resend-btn:disabled {
            color: #a0aec0;
            cursor: not-allowed;
        }

        /* Success Page Styles */
        .success-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 40px;
            width: 100%;
            max-width: 500px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            text-align: center;
        }

        .success-animation {
            margin-bottom: 30px;
        }

        .checkmark {
            width: 80px;
            height: 80px;
            position: relative;
            margin: 0 auto 20px;
        }

        .checkmark-circle {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #48bb78, #38a169);
            border-radius: 50%;
            position: relative;
            animation: scaleIn 0.3s ease-in-out;
        }

        .checkmark-stem,
        .checkmark-kick {
            position: absolute;
            background: white;
            height: 3px;
            border-radius: 2px;
        }

        .checkmark-stem {
            width: 15px;
            top: 38px;
            left: 30px;
            transform: rotate(45deg);
            animation: drawStem 0.3s ease-in-out 0.3s both;
        }

        .checkmark-kick {
            width: 25px;
            top: 44px;
            left: 25px;
            transform: rotate(-45deg);
            animation: drawKick 0.3s ease-in-out 0.5s both;
        }

        @keyframes scaleIn {
            0% { transform: scale(0); }
            100% { transform: scale(1); }
        }

        @keyframes drawStem {
            0% { width: 0; }
            100% { width: 15px; }
        }

        @keyframes drawKick {
            0% { width: 0; }
            100% { width: 25px; }
        }

        .success-content h1 {
            color: #2d3748;
            margin-bottom: 10px;
            font-size: 28px;
        }

        .success-content p {
            color: #718096;
            margin-bottom: 30px;
        }

        .transaction-details {
            background: #f8fafc;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 30px;
            text-align: left;
        }

        .detail-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #e2e8f0;
        }

        .detail-row:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .detail-row span:first-child {
            color: #718096;
        }

        .detail-row span:last-child {
            font-weight: 600;
            color: #2d3748;
        }

        .success-actions {
            display: flex;
            gap: 15px;
        }

        .download-btn {
            flex: 1;
            padding: 14px;
            background: #f8fafc;
            color: #4a5568;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            font-weight: 500;
        }

        .download-btn:hover {
            background: #e2e8f0;
            transform: translateY(-1px);
        }

        .continue-btn {
            flex: 2;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }

            .payment-card, .otp-card, .success-card {
                padding: 30px 20px;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .otp-inputs {
                gap: 8px;
            }

            .otp-input {
                width: 45px;
                height: 45px;
                font-size: 18px;
            }

            .success-actions {
                flex-direction: column;
            }
        }